Storm Command Syntax
The
storm
command lets you perform various actions on a Storm topology. Each command
option is explained below.
Parameter | Description |
---|---|
|
Activates the specified topology's spouts. |
|
Prints the classpath used by the storm client when running commands. |
|
Deactivates the specified topology’s spouts. |
|
Launches a DRPC daemon. This command should be run under supervision with a tool like daemontools or monit. DRPC is bundled with Storm. The DRPC server coordinates receiving an RPC request, sending the request to the Storm topology, receiving the results from the Storm topology, and sending the results back to the waiting client. The Storm topology takes a stream of function arguments as its input, and emits an output stream of the results for each of those function calls. |
|
Displays help information for the |
|
Runs the main method of class with the specified arguments. The storm
JARs and configurations in |
|
Kills the topology with the name
|
|
Lists the names of the running topologies and their statuses. |
|
Prints out the value for
|
|
Launches the log viewer daemon. It provides a web interface for viewing Storm log files. This command should be run under supervision with a tool like daemontools or monit. |
|
Monitors the specified topology's
throughput interactively. Indicate which data you want to monitor by
specifying
Default settings for each option are:
|
|
Launches the nimbus daemon. This command should be run under supervision with a tool like daemontools or monit. |
|
Redistributes the workers evenly around the cluster. This option can also be used to change the parallelism of a running topology. The |
|
Prints out the value for
conf-name
in the cluster's Storm configurations.
The cluster's Storm configurations are the ones in
WARNING:
This command must be run on a cluster machine. |
|
Opens a Clojure REPL with the storm JARs and configuration on the classpath. Useful for debugging. |
|
Constructs a JAR file and uploads it to Nimbus, then calls the program with the
|
|
Launches the supervisor daemon. This command should be run under supervision with a tool like daemontools or monit. |
|
Launches the UI daemon. The UI provides a web interface for a Storm cluster and shows detailed statistics about running topologies. This command should be run under supervision with a tool like daemontools or monit. |
|
Prints the version number of the Storm release. |