您的位置:首页 > 其它

storm '*/stormconf.ser' does not exist 问题nimbus进程刚启动后就自动退出

2017-05-07 18:00 531 查看
现象: nimbus进程一启动后就自动退出.

使用storm 0.9.3 和 storm 0.9.2时,如果非正常关机,tp没有正常杀死的情况下,再次提交topology时会碰到以下问题

反复出现以下问题

2014-12-01T20:31:09.797+0800 b.s.d.supervisor [INFO] 9ce9ed02-8da3-48fe-b3d6-b95b94910fb7 still hasn’t started

查看 supervisor.log

单独提交任务,把日志里的启动命令截取出来单独运行

‘/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’

提示错误:storm ‘*/stormconf.ser’ does not exist

解决方案:

先关闭所有节点的zookeeper和supervisor,nimbus,ui

1.删除所有节点中的storm.yaml内对应的storm.localdir对应的目录内的东西

2.删除zookeeper配置文件中

dataDir=/home/storm/zkdata

dataLogDir=/home/storm/zklogs

目录下的所有东西,然后重启
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  storm nimbus