Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

Is it possible that one bolt kills the topology? #162

Open
arnolddeng85 opened this issue Oct 26, 2015 · 1 comment
Open

Is it possible that one bolt kills the topology? #162

arnolddeng85 opened this issue Oct 26, 2015 · 1 comment

Comments

@arnolddeng85
Copy link

I plan to kill the topology if one bolt detects some errors at running time. I find the following command line is used to kill the topology and there is not python method:

pyleus kill -n {NIMBUS_HOST}  -w {WAIT_TIME}   {TOPOLOGY_NAME}

So is it fine to call a shell script from python code to kill the topology?

@westover
Copy link

Topologies run in storm local mode do die if a single bolt fails. I haven't tested this on a remote host but do believe it doesn't die from that condition.

And this is just a wrapper for the methods built into the storm executable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants