On the fly change is by stome rebalance command. storm rebalance topology-name> -e component=parallelism
On 3/13/15, tishan pubudu kanishka dahanayakage <dtishanpub...@gmail.com> wrote: > Hi Kosala, > > Thanks for the response. Yeah. I came across that. But that was written in > 2012 whereas [1] is more recently. it says "Note that as of Storm 0.8 the > parallelism_hint parameter now specifies the > ' > initial > ' > number of executors (not tasks!) for that bolt". Also in here[2] Nathan > says that "0.8.0 will let you change the parallelism of topologies on the > fly" > . That's why i raised this concern. So what you are saying is if I set > parallelism to 'x' it will have x number of executors forever. Please > correct if I am wrong. > > > [1] > http://storm.apache.org/documentation/Understanding-the-parallelism-of-a-Storm-topology.html > [2] https://groups.google.com/forum/#!topic/storm-user/Rr9K7f-AMLc > > Thanks, > Tishan > > On Fri, Mar 13, 2015 at 11:54 AM, Kosala Dissanayake <umaradi...@gmail.com> > wrote: > >> *"initial parallelism value and that value increase dynamically in >> run-time."* >> >> No. The parallelism value is the number of executors you get. This does >> not change at run-time. >> >> Read this. >> http://www.michael-noll.com/blog/2012/10/16/understanding-the-parallelism-of-a-storm-topology/ >> >> On Wed, Mar 11, 2015 at 7:45 PM, tishan pubudu kanishka dahanayakage < >> dtishanpub...@gmail.com> wrote: >> >>> Hi, >>> >>> I went through this[1] and tried few topology deployments. Just want to >>> clear small doubt. According to [1] what i understood was that >>> parallelism >>> hint is the initial parallelism value and that value increase >>> dynamically >>> in run-time. Last comment on [2] also suggest the same. However when I >>> tested it in Storm I did not see parallelism for that Bolt increase with >>> load. >>> >>> Does my understanding about how parallelism hint operates in Storm >>> correct. If so do I need to do any more configurations to make it work. >>> >>> Thanks, >>> Tishan >>> >>> -- >>> Regards, >>> Tishan >>> >> >> > > > -- > Regards, > Tishan >