You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Andrew Wu <aw...@innometrics.com> on 2014/01/13 13:02:30 UTC

How StormSubmitter works?

Hi All

We have an application have multiple levels of configuration overrides.

One thing interested me is how StormSubmitter works.
This is what I understand
when
storm -jar {pathToJar} {mainClass} is called,
it goes to main method in that class and create StormTopology instance, configurations  and finally use StormSubmitter.submitTopology to remote server.
It seems that states changed between first line in main method  and submitTopology are saved and transferred to remote cluster as well, but not entirely.
I can receive modified information on  spouts but not on bolts.

It will be appreciated If anyone can share the knowledge of how storm submit topologies and how spouts and bolts are executed on different executors.


Thanks


Andrew Ge Wu
Backend Developer
Mobile: +46 76 88 99 970
Website: www.innometrics.com<http://www.innometrics.com/>


[cid:A29501B8-EA20-463B-A4A4-203BB3DA4788]