1.

How Can We Kill A Topology?

Answer»

To kill a topology, simply run:

storm kill {stormname}

GIVE the same name to storm kill as you used when submitting the topology. Storm won’t kill the topology immediately. Instead, it DEACTIVATES all the spouts so that they don’t emit any more tuples, and then Storm waits Config.TOPOLOGY_MESSAGE_TIMEOUT_SECS seconds before destroying all the workers. This gives the topology ENOUGH time to complete any tuples it was PROCESSING when it got killed.

To kill a topology, simply run:

storm kill {stormname}

Give the same name to storm kill as you used when submitting the topology. Storm won’t kill the topology immediately. Instead, it deactivates all the spouts so that they don’t emit any more tuples, and then Storm waits Config.TOPOLOGY_MESSAGE_TIMEOUT_SECS seconds before destroying all the workers. This gives the topology enough time to complete any tuples it was processing when it got killed.



Discussion

No Comment Found