Phenomenon: The Nimbus process automatically exits when it starts.
When using storm 0.9.3 and Storm 0.9.2, if the abnormal shutdown, TP does not normally kill the case, the second submission of the topology will encounter the following problems
The following problems occur repeatedly
2014-12-01t20:31:09.797+0800 b.s.d.supervisor [INFO] 9ce9ed02-8da3-48fe-b3d6-b95b94910fb7 still hasn ' t started
View Supervisor.log
Submit the task separately, intercept the launch command in the log and run it alone.
'/usr/java/latest/bin/java '-server '-xmx768m '-djava.library.path=/home/storm/localdir/supervisor/stormdist/ Test_storm-2-1417437058/resources/linux-amd64:/home/storm/localdir/supervisor/stormdist/test_ Storm-2-1417437058/resources:/usr/local/lib:/opt/local/lib:/usr/lib '-dlogfile.name=worker-6701.log '- dstorm.home=/home/storm/apache-storm-0.9.3 '-dstorm.conf.file= '-dstorm.options= '-Dstorm.log.dir=/home/storm/ Apache-storm-0.9.3/logs '-dlogback.configurationfile=/home/storm/apache-storm-0.9.3/logback/cluster.xml '- dstorm.id=test_storm-2-1417437058 '-dworker.id=edd6a25e-ba9b-4f0c-bcd7-20e9bfa4df39 '-Dworker.port=6701 '-CP ' /home/storm/apache-storm-0.9.3/lib/minlog-1.2.jar:/home/storm/apache-storm-0.9.3/lib/clj-time-0.4.1.jar:/home/ storm/apache-storm-0.9.3/lib/ring-jetty-adapter-0.3.11.jar:/home/storm/apache-storm-0.9.3/lib/ logback-classic-1.0.13.jar:/home/storm/apache-storm-0.9.3/lib/log4j-over-slf4j-1.6.6.jar:/home/storm/ apache-storm-0.9.3/lib/tools.macro-0.1.0.jar:/home/Storm/apache-storm-0.9.3/lib/commons-lang-2.5.jar:/home/storm/apache-storm-0.9.3/lib/tools.cli-0.2.4.jar:/home /storm/apache-storm-0.9.3/lib/math.numeric-tower-0.0.1.jar:/home/storm/apache-storm-0.9.3/lib/ tools.logging-0.2.3.jar:/home/storm/apache-storm-0.9.3/lib/disruptor-2.10.1.jar:/home/storm/apache-storm-0.9.3 /lib/reflectasm-1.07-shaded.jar:/home/storm/apache-storm-0.9.3/lib/jetty-6.1.26.jar:/home/storm/ apache-storm-0.9.3/lib/objenesis-1.2.jar:/home/storm/apache-storm-0.9.3/lib/ring-servlet-0.3.11.jar:/home/ storm/apache-storm-0.9.3/lib/kryo-2.21.jar:/home/storm/apache-storm-0.9.3/lib/clout-1.0.1.jar:/home/storm/ apache-storm-0.9.3/lib/clojure-1.5.1.jar:/home/storm/apache-storm-0.9.3/lib/ring-core-1.1.5.jar:/home/storm/ apache-storm-0.9.3/lib/slf4j-api-1.7.5.jar:/home/storm/apache-storm-0.9.3/lib/snakeyaml-1.11.jar:/home/storm/ Apache-storm-0.9.3/lib/logback-core-1.0.13.jar:/home/storm/apache-storm-0.9.3/lib/hiccup-0.3.6.jar:/home/storm /apache-storm-0.9.3/lib/asm-4.0.jar:/home/storm/apache-storm-0.9.3/lib/commons-exec-1.1.jar:/home/storm/apache-storm-0.9.3/lib/core.incubator-0.1.0.jar:/home/ Storm/apache-storm-0.9.3/lib/commons-logging-1.1.3.jar:/home/storm/apache-storm-0.9.3/lib/compojure-1.1.3.jar :/home/storm/apache-storm-0.9.3/lib/jline-2.11.jar:/home/storm/apache-storm-0.9.3/lib/jgrapht-core-0.9.0.jar:/ home/storm/apache-storm-0.9.3/lib/joda-time-2.0.jar:/home/storm/apache-storm-0.9.3/lib/commons-codec-1.6.jar:/ home/storm/apache-storm-0.9.3/lib/clj-stacktrace-0.2.2.jar:/home/storm/apache-storm-0.9.3/lib/ servlet-api-2.5.jar:/home/storm/apache-storm-0.9.3/lib/json-simple-1.1.jar:/home/storm/apache-storm-0.9.3/lib/ carbonite-1.4.0.jar:/home/storm/apache-storm-0.9.3/lib/jetty-util-6.1.26.jar:/home/storm/apache-storm-0.9.3/ lib/chill-java-0.3.5.jar:/home/storm/apache-storm-0.9.3/lib/commons-io-2.4.jar:/home/storm/apache-storm-0.9.3/ lib/ring-devel-0.3.11.jar:/home/storm/apache-storm-0.9.3/lib/commons-fileupload-1.2.1.jar:/home/storm/ apache-storm-0.9.3/lib/storm-core-0.9.3.jar:/home/storm/apache-storm-0.9.3/conf:/home/storm/localdir/supervisor/stormdist/test_storm-2-1417437058/ Stormjar.jar ' backtype.storm.daemon.worker ' test_storm-2-1417437058 ' 89b2836e-e472-4a45-8084-b59c0c2b68b3 ' 6701 ' edd6a25e-ba9b-4f0c-bcd7-20e9bfa4df39 '
Hint error: Storm ' */stormconf.ser ' does not exist
Solution:
Turn off zookeeper and Supervisor,nimbus,ui for all nodes first
1. Delete the contents of the corresponding Storm.localdir within the Storm.yaml in all nodes
2. Delete the Zookeeper configuration file
Datadir=/home/storm/zkdata
Datalogdir=/home/storm/zklogs
Everything under the directory, and then reboot