Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implemented activate and deactivate commands
- Loading branch information
Nathan Marz
committed
Dec 2, 2011
1 parent
6cd9c96
commit b6eac26
Showing
10 changed files
with
1,811 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
(ns backtype.storm.command.activate | ||
(:use [backtype.storm thrift log]) | ||
(:gen-class)) | ||
|
||
(defn -main [name] | ||
(with-configured-nimbus-connection nimbus | ||
(.activate nimbus name) | ||
(log-message "Activated topology: " name) | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
(ns backtype.storm.command.deactivate | ||
(:use [backtype.storm thrift log]) | ||
(:gen-class)) | ||
|
||
(defn -main [name] | ||
(with-configured-nimbus-connection nimbus | ||
(.deactivate nimbus name) | ||
(log-message "Deactivated topology: " name) | ||
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.