Reputation: 840
I am learning storm.I have a doubt regarding the number of topology we can run at a time on Apache Storm.I have submitted two topologies on storm cluster but at a time only one topology runs.I need to KILL or DEACTIVATE the already present topology to run any new topology.
I am using Storm 0.9.4
Zookeeper 3.4.6
Kafka 2.10-0.8.2.1
I am running one instance of storm nimbus,supervisor and ui.
Do I need to run multiple instances of each?
What do I need to do to run multiple topologoies at the same time?
I am attaching the screenshot of my storm ui.
Upvotes: 4
Views: 2288
Reputation: 840
I was using only 2 supervisor.slots.ports(in storm.yaml).And setNumWorkers() in my topology configuration was also specified as 2.Hence,the topology which was running first was occupying both the slots. Now, I have set 5 supervisor.slots.ports and things are working fine.I am able to run multiple topologies at a time.
Upvotes: 6