Storm常用配置参数

storm.zookeeper.connection.timeout

storm.zookeeper.session.timeout      

ZooKeeper客户端连接/session超时时间

 

nimbus.monitor.freq.secs            

nimbus检查心跳和重分配任务的时间间隔.注意如果是机器宕掉nimbus会立即接管并处理。

supervisor.heartbeat.frequency.secs  

supervisor发送心跳间隔

supervisor.monitor.frequency.secs    

supervisor检查worker心跳的频率

worker.heartbeat.frequency.secs      

worker发送心跳间隔

task.heartbeat.frequency.secs        

executor发送心跳间隔

 

nimbus.task.timeout.secs 

心跳超时时间,超时后nimbus会认为task死掉并重分配给另一个地址。

nimbus.task.launch.secs     

 task启动时的一个特殊超时设置.在启动后第一次心跳前会使用该值来临时替代nimbus.task.timeout.secs.

nimbus.supervisor.timeout.secs

 supervisor的心跳超时时间,一旦超过nimbus会认为该supervisor已死并停止为它分发新任务.

 

 

supervisor.worker.start.timeout.secs

supervisor初始启动时,worker的心跳超时时间,当超过该时间supervisor会尝试重启worker。 因为JVM初始启动和配置会带来的额外消耗,从而使得第一次心跳会超过supervisor.worker.timeout.secs的设定

 

supervisor.worker.timeout.secs      

supervisor中的worker心跳超时时间,一旦超时supervisor会尝试重启worker进程

 

 

参考资料:

http://storm.apache.org/documentation/Configuration.html

猜你喜欢

转载自woodding2008.iteye.com/blog/2303861