yahoo / storm-yarn

Storm-yarn enables Storm clusters to be deployed into machines managed by Hadoop YARN.
Other
417 stars 161 forks source link

Introduce "strom-yarn shutdown" (issue #10) #12

Closed anfeng closed 11 years ago

anfeng commented 11 years ago

This pull request introduce "shutdown" capability to storm-yarn. storm-yarn shutdown --appId <appID>

The shutdown command will stop Storm processes (Nimbus, Supervisors, UI etc), and also stop Storm Master server. All resources will be released as well.

I also made sure that Storm Master has a storm.yaml with correct host name for Storm Nimbus host. This will enable "storm jar" to simply use the a storm.yaml retrieved from "storm-yarn getStormConfig".