Rebalancing executors in Apache Storm

后端 未结 1 463
既然无缘
既然无缘 2021-01-23 19:35

I am trying to rebalance the number of executors for a bolt in a running Apache Storm (0.9.5) topology. When I execute the command to the Nimbus node ./storm rebalance MyT

相关标签:
1条回答
  • 2021-01-23 20:05

    You always need to have more (or equal number of) tasks than executors. As the number of tasks is fixed, you need to set a larger initial number than initial executors in order to be able to scale up the number of executors during runtime. You can see the number of tasks, as maximum number of executors:

    #executors <= #numTasks
    

    See here for details: https://storm.apache.org/documentation/Understanding-the-parallelism-of-a-Storm-topology.html

    0 讨论(0)
提交回复
热议问题