I am using a Java class to submit a topology to a Storm cluster and I also plan to use a Java class to kill the topology. But as per storm documentation, the following command is used to kill a topology and there is no Java method (and this has valid reasons).
storm kill {stormname}
So is it fine to call a shell script from Java class to kill the topology? What are the other ways to kill topology?
Also, how to get the status of running topologies in storm cluster?
For killing topology you can try this
To get the status of topology running