nathanmarz/storm — Issue #76: Found multiple defaults.yaml resources
Author: wangweichen
Created: 2011-12-15 06:12:06+00:00
State: open

i update storm from 0.5.3 to 0.6.0
two version of storm install in same machine !!
but in different path!!!
i rename storm.yaml of 0.5.3 to default.yaml already!!
the classpath of env follow:
Running: export STORM_JAR=/home/yishan/atpanel_log_fat1.jar; java -client -Djava.library.path=None -cp /home/yishan/storm-0.6.0/storm-0.6.0.jar:/home/yishan/storm-0.6.0/lib/commons-codec-1.3.jar:/home/yishan/storm-0.6.0/lib/log4j-1.2.16.jar:/home/yishan/storm-0.6.0/lib/jline-0.9.94.jar:/home/yishan/storm-0.6.0/lib/ring-core-0.3.10.jar:/home/yishan/storm-0.6.0/lib/core.incubator-0.1.0.jar:/home/yishan/storm-0.6.0/lib/commons-exec-1.1.jar:/home/yishan/storm-0.6.0/lib/junit-3.8.1.jar:/home/yishan/storm-0.6.0/lib/hiccup-0.3.6.jar:/home/yishan/storm-0.6.0/lib/reflectasm-1.01.jar:/home/yishan/storm-0.6.0/lib/clout-0.4.1.jar:/home/yishan/storm-0.6.0/lib/joda-time-1.6.jar:/home/yishan/storm-0.6.0/lib/slf4j-api-1.5.8.jar:/home/yishan/storm-0.6.0/lib/httpcore-4.0.1.jar:/home/yishan/storm-0.6.0/lib/commons-lang-2.5.jar:/home/yishan/storm-0.6.0/lib/json-simple-1.1.jar:/home/yishan/storm-0.6.0/lib/clojure-1.2.0.jar:/home/yishan/storm-0.6.0/lib/carbonite-1.0.0.jar:/home/yishan/storm-0.6.0/lib/commons-logging-1.1.1.jar:/home/yishan/storm-0.6.0/lib/commons-fileupload-1.2.1.jar:/home/yishan/storm-0.6.0/lib/ring-jetty-adapter-0.3.11.jar:/home/yishan/storm-0.6.0/lib/libthrift7-0.7.0.jar:/home/yishan/storm-0.6.0/lib/zookeeper-3.3.2.jar:/home/yishan/storm-0.6.0/lib/tools.macro-0.1.0.jar:/home/yishan/storm-0.6.0/lib/httpclient-4.0.1.jar:/home/yishan/storm-0.6.0/lib/minlog-1.2.jar:/home/yishan/storm-0.6.0/lib/jetty-6.1.26.jar:/home/yishan/storm-0.6.0/lib/compojure-0.6.4.jar:/home/yishan/storm-0.6.0/lib/kryo-1.04.jar:/home/yishan/storm-0.6.0/lib/jetty-util-6.1.26.jar:/home/yishan/storm-0.6.0/lib/jvyaml-1.0.0.jar:/home/yishan/storm-0.6.0/lib/servlet-api-2.5-20081211.jar:/home/yishan/storm-0.6.0/lib/clojure-contrib-1.2.0.jar:/home/yishan/storm-0.6.0/lib/servlet-api-2.5.jar:/home/yishan/storm-0.6.0/lib/asm-3.2.jar:/home/yishan/storm-0.6.0/lib/clj-time-0.3.0.jar:/home/yishan/storm-0.6.0/lib/slf4j-log4j12-1.5.8.jar:/home/yishan/storm-0.6.0/lib/commons-io-1.4.jar:/home/yishan/storm-0.6.0/lib/ring-servlet-0.3.11.jar:/home/yishan/storm-0.6.0/lib/jzmq-2.1.0.jar:/home/yishan/atpanel_log_fat1.jar:/home/yishan/storm-0.6.0/conf:/home/yishan/storm-0.6.0/bin com.taobao.search.enter.stormRun

the commend of print !!

the error log:

Exception in thread "main" java.lang.RuntimeException: Found multiple defaults.yaml resources
at backtype.storm.utils.Utils.findAndReadConfigFile(Utils.java:101)
at backtype.storm.utils.Utils.readDefaultConfig(Utils.java:115)
at backtype.storm.utils.Utils.readStormConfig(Utils.java:119)
at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:42)
at com.taobao.search.enter.stormRun.main(stormRun.java:31)

only one storm.yaml in the machine !! i do not know why