Skip to content

Commit

Permalink
added classpath command to bin/storm
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Marz committed Sep 28, 2011
1 parent 2c0b751 commit 0e57b73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/storm
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def ui():
childopts = "-Xmx768m -Dlogfile.name=ui.log -Dlog4j.configuration=storm.log.properties"
exec_storm_class("backtype.storm.ui.core", jvmtype="-server", childopts=childopts, extrajars=[STORM_DIR + "/log4j", STORM_DIR, STORM_DIR + "/conf"])

def print_classpath():
print get_classpath([])

COMMANDS = {"jar": jar, "kill": kill, "shell": shell, "nimbus": nimbus, "ui": ui, "supervisor": supervisor, "localconfvalue": print_localconfvalue, "remoteconfvalue": print_remoteconfvalue, "repl": repl}
COMMANDS = {"jar": jar, "kill": kill, "shell": shell, "nimbus": nimbus, "ui": ui, "supervisor": supervisor, "localconfvalue": print_localconfvalue, "remoteconfvalue": print_remoteconfvalue, "repl": repl, "classpath": print_classpath}

COMMANDS[COMMAND](*ARGS)

0 comments on commit 0e57b73

Please sign in to comment.