[wangshumin@centoshostnameKL1 bin]$ storm jar learnStorm-1.0-SNAPSHOT.jar cn.itcast.storm.wordcount.StormTopologyDriver
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:learnStorm-1.0-SNAPSHOT.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin -Dstorm.jar=learnStorm-1.0-SNAPSHOT.jar cn.itcast.storm.wordcount.StormTopologyDriver
Exception in thread "main" java.lang.RuntimeException: Topology with name `wordcount1` already exists on cluster
at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:118)
at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:70)
at cn.itcast.storm.wordcount.StormTopologyDriver.main(StormTopologyDriver.java:31)
[wangshumin@centoshostnameKL1 bin]$ storm kill wordcount1
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.kill_topology wordcount1
1080 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
1143 [main] INFO backtype.storm.command.kill-topology - Killed topology: wordcount1
[wangshumin@centoshostnameKL1 bin]$ storm jar learnStorm-1.0-SNAPSHOT.jar cn.itcast.storm.wordcount.StormTopologyDriver
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:learnStorm-1.0-SNAPSHOT.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin -Dstorm.jar=learnStorm-1.0-SNAPSHOT.jar cn.itcast.storm.wordcount.StormTopologyDriver
509 [main] INFO backtype.storm.StormSubmitter - Jar not uploaded to master yet. Submitting jar...
517 [main] INFO backtype.storm.StormSubmitter - Uploading topology jar learnStorm-1.0-SNAPSHOT.jar to assigned location: storm-local/nimbus/inbox/stormjar-40bb0d9f-604d-42ef-9dc3-6aeb7bb54187.jar
554 [main] INFO backtype.storm.StormSubmitter - Successfully uploaded topology jar to assigned location: storm-local/nimbus/inbox/stormjar-40bb0d9f-604d-42ef-9dc3-6aeb7bb54187.jar
554 [main] INFO backtype.storm.StormSubmitter - Submitting topology wordcount1 in distributed mode with conf {"topology.workers":2}
643 [main] INFO backtype.storm.StormSubmitter - Finished submitting topology: wordcount1
Documentation for the storm client can be found at http://storm.incubator.apache.org/documentation/Command-line-client.html
Configs can be overridden using one or more -c flags, e.g. "storm list -c nimbus.host=nimbus.mycompany.com"
[wangshumin@centoshostnameKL1 bin]$ storm list
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.list
1188 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
Topology_name Status Num_tasks Num_workers Uptime_secs
-------------------------------------------------------------------
wordcount1 ACTIVE 10 2 181
[wangshumin@centoshostnameKL1 bin]$ storm version
0.9.5
[wangshumin@centoshostnameKL1 bin]$ storm deactivate wordcount1
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.deactivate wordcount1
1111 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
1147 [main] INFO backtype.storm.command.deactivate - Deactivated topology: wordcount1
[wangshumin@centoshostnameKL1 bin]$ storm list
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.list
1144 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
Topology_name Status Num_tasks Num_workers Uptime_secs
-------------------------------------------------------------------
wordcount1 INACTIVE 10 2 282
[wangshumin@centoshostnameKL1 bin]$ storm activate wordcount1
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.activate wordcount1
2849 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
3069 [main] INFO backtype.storm.command.activate - Activated topology: wordcount1
[wangshumin@centoshostnameKL1 bin]$
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:learnStorm-1.0-SNAPSHOT.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin -Dstorm.jar=learnStorm-1.0-SNAPSHOT.jar cn.itcast.storm.wordcount.StormTopologyDriver
Exception in thread "main" java.lang.RuntimeException: Topology with name `wordcount1` already exists on cluster
at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:118)
at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:70)
at cn.itcast.storm.wordcount.StormTopologyDriver.main(StormTopologyDriver.java:31)
[wangshumin@centoshostnameKL1 bin]$ storm kill wordcount1
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.kill_topology wordcount1
1080 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
1143 [main] INFO backtype.storm.command.kill-topology - Killed topology: wordcount1
[wangshumin@centoshostnameKL1 bin]$ storm jar learnStorm-1.0-SNAPSHOT.jar cn.itcast.storm.wordcount.StormTopologyDriver
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:learnStorm-1.0-SNAPSHOT.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin -Dstorm.jar=learnStorm-1.0-SNAPSHOT.jar cn.itcast.storm.wordcount.StormTopologyDriver
509 [main] INFO backtype.storm.StormSubmitter - Jar not uploaded to master yet. Submitting jar...
517 [main] INFO backtype.storm.StormSubmitter - Uploading topology jar learnStorm-1.0-SNAPSHOT.jar to assigned location: storm-local/nimbus/inbox/stormjar-40bb0d9f-604d-42ef-9dc3-6aeb7bb54187.jar
554 [main] INFO backtype.storm.StormSubmitter - Successfully uploaded topology jar to assigned location: storm-local/nimbus/inbox/stormjar-40bb0d9f-604d-42ef-9dc3-6aeb7bb54187.jar
554 [main] INFO backtype.storm.StormSubmitter - Submitting topology wordcount1 in distributed mode with conf {"topology.workers":2}
643 [main] INFO backtype.storm.StormSubmitter - Finished submitting topology: wordcount1
[wangshumin@centoshostnameKL1 bin]$ storm deactivte wordcount1
Unknown command: [storm deactivte wordcount1]
Commands:
activate
classpath
deactivate
dev-zookeeper
drpc
help
jar
kill
list
localconfvalue
logviewer
monitor
nimbus
rebalance
remoteconfvalue
repl
shell
supervisor
ui
version
Help:
help
help <command>
Documentation for the storm client can be found at http://storm.incubator.apache.org/documentation/Command-line-client.html
Configs can be overridden using one or more -c flags, e.g. "storm list -c nimbus.host=nimbus.mycompany.com"
[wangshumin@centoshostnameKL1 bin]$ storm list
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.list
1188 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
Topology_name Status Num_tasks Num_workers Uptime_secs
-------------------------------------------------------------------
wordcount1 ACTIVE 10 2 181
[wangshumin@centoshostnameKL1 bin]$ storm version
0.9.5
[wangshumin@centoshostnameKL1 bin]$ storm deactivate wordcount1
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.deactivate wordcount1
1111 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
1147 [main] INFO backtype.storm.command.deactivate - Deactivated topology: wordcount1
[wangshumin@centoshostnameKL1 bin]$ storm list
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.list
1144 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
Topology_name Status Num_tasks Num_workers Uptime_secs
-------------------------------------------------------------------
wordcount1 INACTIVE 10 2 282
[wangshumin@centoshostnameKL1 bin]$ storm activate wordcount1
Running: /home/wangshumin/app/jdk1.7.0_65/bin/java -client -Dstorm.options= -Dstorm.home=/home/wangshumin/storm/apache-storm-0.9.5 -Dstorm.log.dir=/home/wangshumin/storm/apache-storm-0.9.5/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/wangshumin/storm/apache-storm-0.9.5/lib/disruptor-2.10.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/json-simple-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/objenesis-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.logging-0.2.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-fileupload-1.2.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/carbonite-1.4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jline-2.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/reflectasm-1.07-shaded.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-core-1.1.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clout-1.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/slf4j-api-1.7.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jgrapht-core-0.9.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/math.numeric-tower-0.0.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-jetty-adapter-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-stacktrace-0.2.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clj-time-0.4.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-util-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-logging-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/snakeyaml-1.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/joda-time-2.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-lang-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/asm-4.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/compojure-1.1.3.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/hiccup-0.3.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/minlog-1.2.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/storm-core-0.9.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/kryo-2.21.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-core-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/core.incubator-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-codec-1.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/servlet-api-2.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-devel-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-io-2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.cli-0.2.4.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/clojure-1.5.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/logback-classic-1.0.13.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/ring-servlet-0.3.11.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/commons-exec-1.1.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/chill-java-0.3.5.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/log4j-over-slf4j-1.6.6.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/jetty-6.1.26.jar:/home/wangshumin/storm/apache-storm-0.9.5/lib/tools.macro-0.1.0.jar:/home/wangshumin/storm/apache-storm-0.9.5/conf:/home/wangshumin/storm/apache-storm-0.9.5/bin backtype.storm.command.activate wordcount1
2849 [main] INFO backtype.storm.thrift - Connecting to Nimbus at centoshostnameKL1:6627
3069 [main] INFO backtype.storm.command.activate - Activated topology: wordcount1
[wangshumin@centoshostnameKL1 bin]$