动态改变storm的并发度
2016-07-15 16:30
197 查看
How to change the parallelism of a running topology, 动态的改变并发度
Storm支持在不restart topology的情况下, 动态的改变(增减)worker processes的数目和executors的数目, 称为rebalancing. 通过Storm web UI, 或者通过storm rebalance命令, 见下面的例子
A nifty feature of Storm is that you can increase or decrease the number of worker processes and/or executors without being required to restart the cluster or the topology. The act of doing so is called rebalancing.
You have two options to rebalance a topology:
Use the Storm web UI to rebalance the topology.(怎么使用?)
Use the CLI tool storm rebalance as described below.
Here is an example of using the CLI tool:
# Reconfigure the topology "mytopology" to use 5 worker processes, # the spout "blue-spout" to use 3 executors and # the bolt "yellow-bolt" to use 10 executors. $ storm rebalance mytopology -n 5 -e blue-spout=3 -e yellow-bolt=10
相关文章推荐
- java 在windows环境 android环境 linux环境对7z包的解压缩
- 退出账号时清除缓存
- JVM之数据类型
- "Android Touch事件分发机制"-Android面试必问"精华技能点"汇总
- 安装Subversion1.8.22(SVN)插件
- Unity Android插件错误 Found plugins with same names and architectures
- 最小最大和 纪中1443 桶排+枚举
- __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev)
- bzoj2442
- 可扩展ListView
- webapi集成owin使用Oauth认证时能获取accee_token仍无法登录的解决办法
- CentOS 7 install Nginx
- FastDFS常用命令
- 用Swift实现淘宝和大众点评的下拉刷新
- 协方差
- 父视图透明度为零 不影响子视图; TableView的 cell.contentView 透明;
- 今天突然ubuntu下的virtual box出问题了
- Java之美[从蛮荒到撬动地球]之设计模式三
- RabbitMQ学习(十二)之spring整合发送异步消息(注解实现)
- 在pc端四个小图标显示,在手机端,只有一个小图标,点击小图标,四个小图标出来,再点击,四个小图片隐藏?