FAQ
Nikhil,

I'm seeing the same issue. Topology is run in local mode instead of being
submitted to the cluster. Have you found the problem?

Thanks,
Igor.

пятница, 9 ноября 2012 г., 9:05:11 UTC+2 пользователь Nikhil Shekhar
написал:
*Thanks ...there was an additional storm-0.8.0 jar file copied in the
path and hence the error. I removed it and I am able to submit the topology.
*
**
*Now, I am seeing the below error after I submit the topology. Nothing
gets written even to the log files under /storm/storm-0.8.0/logs*

sudo bin/storm jar nikhil/StormTest1.jar com.starter.test.TopologyMain
nikhil/words
Running: java -client -Dstorm.options=
-Dstorm.home=/home/ubuntu/storm/storm-0.8.0
-Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -cp
/home/ubuntu/storm/storm-0.8.0/lib/servlet-api-2.5-20081211.jar:/home/ubuntu/storm/storm-0.8.0/lib/carbonite-1.5.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/minlog-1.2.jar:/home/ubuntu/storm/storm-0.8.0/lib/guava-10.0.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/ring-jetty-adapter-0.3.11.jar:/home/ubuntu/storm/storm-0.8.0/lib/reflectasm-1.07-shaded.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-fileupload-1.2.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/slf4j-api-1.5.8.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-codec-1.4.jar:/home/ubuntu/storm/storm-0.8.0/lib/json-simple-1.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/curator-framework-1.0.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/joda-time-2.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/clout-0.4.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-logging-1.1.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/tools.macro-0.1.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/zookeeper-3.3.3.jar:/home/ubuntu/storm/storm-0.8.0/lib/core.incubator-0.1.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/jetty-6.1.26.jar:/home/ubuntu/storm/storm-0.8.0/lib/ring-servlet-0.3.11.jar:/home/ubuntu/storm/storm-0.8.0/lib/servlet-api-2.5.jar:/home/ubuntu/storm/storm-0.8.0/lib/asm-4.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/jetty-util-6.1.26.jar:/home/ubuntu/storm/storm-0.8.0/lib/tools.cli-0.2.2.jar:/home/ubuntu/storm/storm-0.8.0/lib/libthrift7-0.7.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-exec-1.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/jsr305-1.3.9.jar:/home/ubuntu/storm/storm-0.8.0/lib/clj-time-0.4.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/jgrapht-0.8.3.jar:/home/ubuntu/storm/storm-0.8.0/lib/jzmq-2.1.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/objenesis-1.2.jar:/home/ubuntu/storm/storm-0.8.0/lib/httpclient-4.1.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/clojure-1.4.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/snakeyaml-1.9.jar:/home/ubuntu/storm/storm-0.8.0/lib/compojure-0.6.4.jar:/home/ubuntu/storm/storm-0.8.0/lib/httpcore-4.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/ring-core-0.3.10.jar:/home/ubuntu/storm/storm-0.8.0/lib/disruptor-2.10.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-lang-2.5.jar:/home/ubuntu/storm/storm-0.8.0/lib/junit-3.8.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/storm-0.8.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/slf4j-log4j12-1.5.8.jar:/home/ubuntu/storm/storm-0.8.0/lib/kryo-2.17.jar:/home/ubuntu/storm/storm-0.8.0/lib/curator-client-1.0.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/hiccup-0.3.6.jar:/home/ubuntu/storm/storm-0.8.0/lib/log4j-1.2.16.jar:/home/ubuntu/storm/storm-0.8.0/lib/math.numeric-tower-0.0.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-io-1.4.jar:/home/ubuntu/storm/storm-0.8.0/lib/jline-0.9.94.jar:/home/ubuntu/storm/storm-0.8.0/lib/tools.logging-0.2.3.jar:nikhil/StormTest1.jar:/home/ubuntu/.storm:/home/ubuntu/storm/storm-0.8.0/bin
-Dstorm.jar=nikhil/StormTest1.jar com.starter.test.TopologyMain nikhil/words
0 [main] INFO backtype.storm.zookeeper - Starting inprocess zookeeper
at port 2000 and dir /tmp/81d6adf6-dc65-4aa8-936e-d5d1a5eca849
707 [main] INFO backtype.storm.daemon.nimbus - Starting Nimbus with
conf {"dev.zookeeper.path" "/tmp/dev-storm-zookeeper",
"topology.tick.tuple.freq.secs" nil,
"topology.fall.back.on.java.serialization" true, "zmq.linger.millis" 0,
"topology.skip.missing.kryo.registrations" true, "ui.childopts" "-Xmx768m",
"storm.zookeeper.session.timeout" 20000, "nimbus.reassign" true,
"nimbus.monitor.freq.secs" 10, "java.library.path"
"/usr/local/lib:/opt/local/lib:/usr/lib",
"topology.executor.send.buffer.size" 1024, "storm.local.dir"
"/tmp/a4fd9e3d-609b-4ea8-9761-561994fffcc6",
"supervisor.worker.start.timeout.secs" 120,
"topology.enable.message.timeouts" false, "nimbus.cleanup.inbox.freq.secs"
600, "nimbus.inbox.jar.expiration.secs" 3600,
"topology.worker.shared.thread.pool.size" 4, "nimbus.host" "localhost",
"storm.zookeeper.port" 2000, "transactional.zookeeper.port" nil,
"topology.executor.receive.buffer.size" 1024,
"transactional.zookeeper.servers" nil, "storm.zookeeper.root" "/storm",
"supervisor.enable" true, "storm.zookeeper.servers" ["localhost"],
"transactional.zookeeper.root" "/transactional", "topology.acker.executors"
1, "topology.transfer.buffer.size" 1024, "topology.worker.childopts" nil,
"worker.childopts" "-Xmx768m", "supervisor.heartbeat.frequency.secs" 5,
"drpc.port" 3772, "supervisor.monitor.frequency.secs" 3,
"topology.receiver.buffer.size" 8, "task.heartbeat.frequency.secs" 3,
"topology.tasks" nil, "topology.max.spout.pending" nil,
"storm.zookeeper.retry.interval" 1000, "supervisor.slots.ports" [6700 6701
6702 6703], "topology.debug" false, "nimbus.task.launch.secs" 120,
"nimbus.supervisor.timeout.secs" 60, "topology.message.timeout.secs" 30,
"task.refresh.poll.secs" 10, "topology.workers" 1, "supervisor.childopts"
"-Xmx1024m", "nimbus.thrift.port" 6627, "topology.stats.sample.rate" 0.05,
"worker.heartbeat.frequency.secs" 1, "topology.acker.tasks" nil,
"topology.disruptor.wait.strategy"
"com.lmax.disruptor.BlockingWaitStrategy", "nimbus.task.timeout.secs" 30,
"storm.zookeeper.connection.timeout" 15000, "drpc.invocations.port" 3773,
"zmq.threads" 1, "storm.zookeeper.retry.times" 5,
"topology.state.synchronization.timeout.secs" 60,
"supervisor.worker.timeout.secs" 30, "nimbus.file.copy.expiration.secs"
600, "drpc.request.timeout.secs" 600, "storm.local.mode.zmq" false,
"ui.port" 8080, "nimbus.childopts" "-Xmx1024m", "storm.cluster.mode"
"local", "topology.optimize" true, "topology.max.task.parallelism" nil}
730 [main] INFO backtype.storm.daemon.nimbus - Using default scheduler
822 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
890 [main-EventThread] INFO backtype.storm.zookeeper - Zookeeper state
update: :connected:none
916 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
980 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
990 [main-EventThread] INFO backtype.storm.zookeeper - Zookeeper state
update: :connected:none
997 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
998 [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2000] WARN
org.apache.zookeeper.server.NIOServerCnxn - EndOfStreamException: Unable
to read additional data from client sessionid 0x13ae3ed90f90002, likely
client has closed socket
1000 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
1009 [main-EventThread] INFO backtype.storm.zookeeper - Zookeeper state
update: :connected:none
1013 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
1043 [main] INFO backtype.storm.daemon.supervisor - Starting Supervisor
with conf {"dev.zookeeper.path" "/tmp/dev-storm-zookeeper",
"topology.tick.tuple.freq.secs" nil,
"topology.fall.back.on.java.serialization" true, "zmq.linger.millis" 0,
"topology.skip.missing.kryo.registrations" true, "ui.childopts" "-Xmx768m",
"storm.zookeeper.session.timeout" 20000, "nimbus.reassign" true,
"nimbus.monitor.freq.secs" 10, "java.library.path"
"/usr/local/lib:/opt/local/lib:/usr/lib",
"topology.executor.send.buffer.size" 1024, "storm.local.dir"
"/tmp/1091c8f9-6010-436c-ab41-cb6c64882855",
"supervisor.worker.start.timeout.secs" 120,
"topology.enable.message.timeouts" false, "nimbus.cleanup.inbox.freq.secs"
600, "nimbus.inbox.jar.expiration.secs" 3600,
"topology.worker.shared.thread.pool.size" 4, "nimbus.host" "localhost",
"storm.zookeeper.port" 2000, "transactional.zookeeper.port" nil,
"topology.executor.receive.buffer.size" 1024,
"transactional.zookeeper.servers" nil, "storm.zookeeper.root" "/storm",
"supervisor.enable" true, "storm.zookeeper.servers" ["localhost"],
"transactional.zookeeper.root" "/transactional", "topology.acker.executors"
1, "topology.transfer.buffer.size" 1024, "topology.worker.childopts" nil,
"worker.childopts" "-Xmx768m", "supervisor.heartbeat.frequency.secs" 5,
"drpc.port" 3772, "supervisor.monitor.frequency.secs" 3,
"topology.receiver.buffer.size" 8, "task.heartbeat.frequency.secs" 3,
"topology.tasks" nil, "topology.max.spout.pending" nil,
"storm.zookeeper.retry.interval" 1000, "supervisor.slots.ports" (1 2 3),
"topology.debug" false, "nimbus.task.launch.secs" 120,
"nimbus.supervisor.timeout.secs" 60, "topology.message.timeout.secs" 30,
"task.refresh.poll.secs" 10, "topology.workers" 1, "supervisor.childopts"
"-Xmx1024m", "nimbus.thrift.port" 6627, "topology.stats.sample.rate" 0.05,
"worker.heartbeat.frequency.secs" 1, "topology.acker.tasks" nil,
"topology.disruptor.wait.strategy"
"com.lmax.disruptor.BlockingWaitStrategy", "nimbus.task.timeout.secs" 30,
"storm.zookeeper.connection.timeout" 15000, "drpc.invocations.port" 3773,
"zmq.threads" 1, "storm.zookeeper.retry.times" 5,
"topology.state.synchronization.timeout.secs" 60,
"supervisor.worker.timeout.secs" 30, "nimbus.file.copy.expiration.secs"
600, "drpc.request.timeout.secs" 600, "storm.local.mode.zmq" false,
"ui.port" 8080, "nimbus.childopts" "-Xmx1024m", "storm.cluster.mode"
"local", "topology.optimize" true, "topology.max.task.parallelism" nil}
1078 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
1086 [main-EventThread] INFO backtype.storm.zookeeper - Zookeeper state
update: :connected:none
1091 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
1259 [main] INFO backtype.storm.daemon.supervisor - Starting supervisor
with id a848a084-0046-4099-8bc7-422a8d8ffb50 at host
domU-12-31-39-04-54-5D.compute-1.internal
1267 [main] INFO backtype.storm.daemon.supervisor - Starting Supervisor
with conf {"dev.zookeeper.path" "/tmp/dev-storm-zookeeper",
"topology.tick.tuple.freq.secs" nil,
"topology.fall.back.on.java.serialization" true, "zmq.linger.millis" 0,
"topology.skip.missing.kryo.registrations" true, "ui.childopts" "-Xmx768m",
"storm.zookeeper.session.timeout" 20000, "nimbus.reassign" true,
"nimbus.monitor.freq.secs" 10, "java.library.path"
"/usr/local/lib:/opt/local/lib:/usr/lib",
"topology.executor.send.buffer.size" 1024, "storm.local.dir"
"/tmp/d992ce7b-91dc-452a-a550-67a07635b95e",
"supervisor.worker.start.timeout.secs" 120,
"topology.enable.message.timeouts" false, "nimbus.cleanup.inbox.freq.secs"
600, "nimbus.inbox.jar.expiration.secs" 3600,
"topology.worker.shared.thread.pool.size" 4, "nimbus.host" "localhost",
"storm.zookeeper.port" 2000, "transactional.zookeeper.port" nil,
"topology.executor.receive.buffer.size" 1024,
"transactional.zookeeper.servers" nil, "storm.zookeeper.root" "/storm",
"supervisor.enable" true, "storm.zookeeper.servers" ["localhost"],
"transactional.zookeeper.root" "/transactional", "topology.acker.executors"
1, "topology.transfer.buffer.size" 1024, "topology.worker.childopts" nil,
"worker.childopts" "-Xmx768m", "supervisor.heartbeat.frequency.secs" 5,
"drpc.port" 3772, "supervisor.monitor.frequency.secs" 3,
"topology.receiver.buffer.size" 8, "task.heartbeat.frequency.secs" 3,
"topology.tasks" nil, "topology.max.spout.pending" nil,
"storm.zookeeper.retry.interval" 1000, "supervisor.slots.ports" (4 5 6),
"topology.debug" false, "nimbus.task.launch.secs" 120,
"nimbus.supervisor.timeout.secs" 60, "topology.message.timeout.secs" 30,
"task.refresh.poll.secs" 10, "topology.workers" 1, "supervisor.childopts"
"-Xmx1024m", "nimbus.thrift.port" 6627, "topology.stats.sample.rate" 0.05,
"worker.heartbeat.frequency.secs" 1, "topology.acker.tasks" nil,
"topology.disruptor.wait.strategy"
"com.lmax.disruptor.BlockingWaitStrategy", "nimbus.task.timeout.secs" 30,
"storm.zookeeper.connection.timeout" 15000, "drpc.invocations.port" 3773,
"zmq.threads" 1, "storm.zookeeper.retry.times" 5,
"topology.state.synchronization.timeout.secs" 60,
"supervisor.worker.timeout.secs" 30, "nimbus.file.copy.expiration.secs"
600, "drpc.request.timeout.secs" 600, "storm.local.mode.zmq" false,
"ui.port" 8080, "nimbus.childopts" "-Xmx1024m", "storm.cluster.mode"
"local", "topology.optimize" true, "topology.max.task.parallelism" nil}
1279 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
1298 [main-EventThread] INFO backtype.storm.zookeeper - Zookeeper state
update: :connected:none
1306 [main] INFO com.netflix.curator.framework.imps.CuratorFrameworkImpl
- Starting
1338 [main] INFO backtype.storm.daemon.supervisor - Starting supervisor
with id 2765f30e-152b-4f24-b6e1-408ab134876b at host
domU-12-31-39-04-54-5D.compute-1.internal
2428 [main] INFO backtype.storm.daemon.nimbus - Received topology
submission for wordcount with conf {"topology.max.task.parallelism" nil,
"topology.acker.executors" 1, "topology.kryo.register" nil, "topology.name"
"wordcount", "storm.id" "wordcount-1-1352443729", "wordsFile"
"nikhil/words", "topology.debug" true, "topology.max.spout.pending" 1}
11981 [main] INFO backtype.storm.daemon.nimbus - Activating wordcount:
wordcount-1-1352443729
21018 [main] INFO backtype.storm.scheduler.EvenScheduler - Available
slots: (["2765f30e-152b-4f24-b6e1-408ab134876b" 4]
["2765f30e-152b-4f24-b6e1-408ab134876b" 5]
["2765f30e-152b-4f24-b6e1-408ab134876b" 6]
["a848a084-0046-4099-8bc7-422a8d8ffb50" 1]
["a848a084-0046-4099-8bc7-422a8d8ffb50" 2]
["a848a084-0046-4099-8bc7-422a8d8ffb50" 3])
29098 [main] INFO backtype.storm.daemon.nimbus - Setting new assignment
for topology id wordcount-1-1352443729:
#backtype.storm.daemon.common.Assignment{:master-code-dir
"/tmp/a4fd9e3d-609b-4ea8-9761-561994fffcc6/nimbus/stormdist/wordcount-1-1352443729",
:node->host {"2765f30e-152b-4f24-b6e1-408ab134876b"
"domU-12-31-39-04-54-5D.compute-1.internal"}, :executor->node+port {[3 3]
["2765f30e-152b-4f24-b6e1-408ab134876b" 4], [4 4]
["2765f30e-152b-4f24-b6e1-408ab134876b" 4], [2 2]
["2765f30e-152b-4f24-b6e1-408ab134876b" 4], [1 1]
["2765f30e-152b-4f24-b6e1-408ab134876b" 4]}, :executor->start-time-secs {[1
1] 1352443749, [2 2] 1352443749, [4 4] 1352443749, [3 3] 1352443749}}
33584 [main] INFO backtype.storm.daemon.nimbus - Shutting down master
33598 [main] INFO backtype.storm.daemon.nimbus - Shut down master
35127 [main] INFO backtype.storm.daemon.supervisor - Shutting down
supervisor a848a084-0046-4099-8bc7-422a8d8ffb50
35128 [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2000] WARN
org.apache.zookeeper.server.NIOServerCnxn - EndOfStreamException: Unable
to read additional data from client sessionid 0x13ae3ed90f90005, likely
client has closed socket
35130 [Thread-5] INFO backtype.storm.event - Event manager interrupted
35132 [Thread-6] INFO backtype.storm.event - Event manager interrupted
35615 [main] INFO backtype.storm.daemon.supervisor - Shutting down
supervisor 2765f30e-152b-4f24-b6e1-408ab134876b
35619 [Thread-8] INFO backtype.storm.daemon.supervisor - Downloading
code for storm id wordcount-1-1352443729 from
/tmp/a4fd9e3d-609b-4ea8-9761-561994fffcc6/nimbus/stormdist/wordcount-1-1352443729
58248 [Thread-8] INFO backtype.storm.daemon.supervisor - Finished
downloading code for storm id wordcount-1-1352443729 from
/tmp/a4fd9e3d-609b-4ea8-9761-561994fffcc6/nimbus/stormdist/wordcount-1-1352443729
58255 [Thread-8] INFO backtype.storm.event - Event manager interrupted
58255 [Thread-9] INFO backtype.storm.event - Event manager interrupted
59259 [main] INFO backtype.storm.testing - Shutting down in process
zookeeper
59261 [main] INFO backtype.storm.testing - Done shutting down in process
zookeeper
59261 [main] INFO backtype.storm.testing - Deleting temporary path
/tmp/a4fd9e3d-609b-4ea8-9761-561994fffcc6
59262 [main] INFO backtype.storm.testing - Deleting temporary path
/tmp/81d6adf6-dc65-4aa8-936e-d5d1a5eca849
59262 [main] INFO backtype.storm.testing - Deleting temporary path
/tmp/1091c8f9-6010-436c-ab41-cb6c64882855
59264 [main] INFO backtype.storm.testing - Deleting temporary path
/tmp/d992ce7b-91dc-452a-a550-67a07635b95e
On Friday, 9 November 2012 00:24:38 UTC+5:30, nathanmarz wrote:

It's telling you exactly what's wrong: "Found multiple defaults.yaml
resources. You're probably bundling the Storm jars with your topology jar."
Don't include the Storm jars in your topology jar.

On Thu, Nov 8, 2012 at 3:34 AM, Nikhil Shekhar wrote:

*I exported all the spouts and bolts in a jar using eclipse. I also
added the storm-0.8.0 jar to the Eclipse project class path*
*Then I am trying to do the following on storm:*
* bin/storm jar nikhil/StormTest1.jar com.main.TopologyMain words*
**
*But, its giving me the following error. what can be the reason for
this:*

Exception in thread "main" java.lang.RuntimeException: Found multiple
defaults.yaml resources. You're probably bundling the Storm jars with your
topology jar.
at
backtype.storm.utils.Utils.findAndReadConfigFile(Utils.java:106)
at backtype.storm.utils.Utils.readDefaultConfig(Utils.java:126)
at backtype.storm.utils.Utils.readStormConfig(Utils.java:146)
at backtype.storm.config$read_storm_config.invoke(config.clj:66)
at
backtype.storm.command.config_value$_main.invoke(config_value.clj:7)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.AFn.applyTo(AFn.java:151)
at backtype.storm.command.config_value.main(Unknown Source)
Running: java -client -Dstorm.options=
-Dstorm.home=/home/ubuntu/storm/storm-0.8.0 -Djava.library.path= -cp
/home/ubuntu/storm/storm-0.8.0/storm-0.8.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/servlet-api-2.5-20081211.jar:/home/ubuntu/storm/storm-0.8.0/lib/carbonite-1.5.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/minlog-1.2.jar:/home/ubuntu/storm/storm-0.8.0/lib/guava-10.0.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/ring-jetty-adapter-0.3.11.jar:/home/ubuntu/storm/storm-0.8.0/lib/reflectasm-1.07-shaded.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-fileupload-1.2.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/slf4j-api-1.5.8.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-codec-1.4.jar:/home/ubuntu/storm/storm-0.8.0/lib/json-simple-1.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/curator-framework-1.0.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/joda-time-2.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/clout-0.4.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-logging-1.1.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/tools.macro-0.1.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/zookeeper-3.3.3.jar:/home/ubuntu/storm/storm-0.8.0/lib/core.incubator-0.1.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/jetty-6.1.26.jar:/home/ubuntu/storm/storm-0.8.0/lib/ring-servlet-0.3.11.jar:/home/ubuntu/storm/storm-0.8.0/lib/servlet-api-2.5.jar:/home/ubuntu/storm/storm-0.8.0/lib/asm-4.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/jetty-util-6.1.26.jar:/home/ubuntu/storm/storm-0.8.0/lib/tools.cli-0.2.2.jar:/home/ubuntu/storm/storm-0.8.0/lib/libthrift7-0.7.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-exec-1.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/jsr305-1.3.9.jar:/home/ubuntu/storm/storm-0.8.0/lib/clj-time-0.4.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/jgrapht-0.8.3.jar:/home/ubuntu/storm/storm-0.8.0/lib/jzmq-2.1.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/objenesis-1.2.jar:/home/ubuntu/storm/storm-0.8.0/lib/httpclient-4.1.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/clojure-1.4.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/snakeyaml-1.9.jar:/home/ubuntu/storm/storm-0.8.0/lib/compojure-0.6.4.jar:/home/ubuntu/storm/storm-0.8.0/lib/httpcore-4.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/ring-core-0.3.10.jar:/home/ubuntu/storm/storm-0.8.0/lib/disruptor-2.10.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-lang-2.5.jar:/home/ubuntu/storm/storm-0.8.0/lib/junit-3.8.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/storm-0.8.0.jar:/home/ubuntu/storm/storm-0.8.0/lib/slf4j-log4j12-1.5.8.jar:/home/ubuntu/storm/storm-0.8.0/lib/kryo-2.17.jar:/home/ubuntu/storm/storm-0.8.0/lib/curator-client-1.0.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/hiccup-0.3.6.jar:/home/ubuntu/storm/storm-0.8.0/lib/log4j-1.2.16.jar:/home/ubuntu/storm/storm-0.8.0/lib/math.numeric-tower-0.0.1.jar:/home/ubuntu/storm/storm-0.8.0/lib/commons-io-1.4.jar:/home/ubuntu/storm/storm-0.8.0/lib/jline-0.9.94.jar:/home/ubuntu/storm/storm-0.8.0/lib/tools.logging-0.2.3.jar:nikhil/StormTest1.jar:/home/ubuntu/.storm:/home/ubuntu/storm/storm-0.8.0/bin
-Dstorm.jar=nikhil/StormTest1.jar com.main.TopologyMain words
0 [main] INFO backtype.storm.zookeeper - Starting inprocess
zookeeper at port 2000 and dir /tmp/37482c39-f96e-41cf-8475-76cab48d9888
263 [main] ERROR org.apache.zookeeper.server.NIOServerCnxn - Thread
Thread[main,5,main] died
java.lang.RuntimeException: Found multiple defaults.yaml resources.
You're probably bundling the Storm jars with your topology jar.
at
backtype.storm.utils.Utils.findAndReadConfigFile(Utils.java:106)
at backtype.storm.utils.Utils.readDefaultConfig(Utils.java:126)
at backtype.storm.utils.Utils.readStormConfig(Utils.java:146)
at backtype.storm.config$read_storm_config.invoke(config.clj:66)
at
backtype.storm.testing$mk_local_storm_cluster.doInvoke(testing.clj:102)
at clojure.lang.RestFn.invoke(RestFn.java:397)
at backtype.storm.LocalCluster$_init.invoke(LocalCluster.clj:10)
at backtype.storm.LocalCluster.<init>(Unknown Source)
at com.main.TopologyMain.main(TopologyMain.java:29)


--
Twitter: @nathanmarz
http://nathanmarz.com

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupstorm-user @
postedDec 25, '12 at 6:49a
activeDec 25, '12 at 6:49a
posts1
users1
websitestorm-project.net
irc#storm-user

1 user in discussion

Isemenko: 1 post

People

Translate

site design / logo © 2022 Grokbase