← Back to team overview

monasca team mailing list archive

Re: storm question

 

This may help maybe:

/var/log/storm/worker-6701.log:

2016-01-05 07:30:33 b.s.d.executor [ERROR]
java.lang.NoClassDefFoundError: Could not initialize class com.yammer.metrics.Metrics at kafka.metrics.KafkaMetricsGroup$class.newGauge(KafkaMetricsGroup.scala:43) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at kafka.server.AbstractFetcherManager.newGauge(AbstractFetcherManager.scala:26) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at kafka.server.AbstractFetcherManager.<init>(AbstractFetcherManager.scala:33) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at kafka.consumer.ConsumerFetcherManager.<init>(ConsumerFetcherManager.scala:39) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at kafka.consumer.ZookeeperConsumerConnector.createFetcher(ZookeeperConsumerConnector.scala:148) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at kafka.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:115) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at kafka.javaapi.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:65) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at kafka.javaapi.consumer.ZookeeperConsumerConnector.<init>(ZookeeperConsumerConnector.scala:67) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at kafka.consumer.Consumer$.createJavaConsumerConnector(ConsumerConnector.scala:100) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at kafka.consumer.Consumer.createJavaConsumerConnector(ConsumerConnector.scala) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at monasca.thresh.infrastructure.thresholding.KafkaSpout.open(KafkaSpout.java:94) ~[stormjar.jar:monasca-thresh-1.1.0-SNAPSHOT-2015-09-29T17:02:12-7a595c] at backtype.storm.daemon.executor$fn__6579$fn__6594.invoke(executor.clj:522) ~[storm-core-0.9.5.jar:0.9.5] at backtype.storm.util$async_loop$fn__459.invoke(util.clj:461) ~[storm-core-0.9.5.jar:0.9.5]
        at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_91]
2016-01-05 07:30:33 b.s.util [ERROR] Halting process: ("Worker died")
java.lang.RuntimeException: ("Worker died")
at backtype.storm.util$exit_process_BANG_.doInvoke(util.clj:325) [storm-core-0.9.5.jar:0.9.5] at clojure.lang.RestFn.invoke(RestFn.java:423) [clojure-1.5.1.jar:na] at backtype.storm.daemon.worker$fn__7028$fn__7029.invoke(worker.clj:497) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.daemon.executor$mk_executor_data$fn__6480$fn__6481.invoke(executor.clj:240) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.util$async_loop$fn__459.invoke(util.clj:473) [storm-core-0.9.5.jar:0.9.5]
        at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_91]
2016-01-05 07:30:33 b.s.util [ERROR] Halting process: ("Worker died")
java.lang.RuntimeException: ("Worker died")
at backtype.storm.util$exit_process_BANG_.doInvoke(util.clj:325) [storm-core-0.9.5.jar:0.9.5] at clojure.lang.RestFn.invoke(RestFn.java:423) [clojure-1.5.1.jar:na] at backtype.storm.daemon.worker$fn__7028$fn__7029.invoke(worker.clj:497) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.daemon.executor$mk_executor_data$fn__6480$fn__6481.invoke(executor.clj:240) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.util$async_loop$fn__459.invoke(util.clj:473) [storm-core-0.9.5.jar:0.9.5]
        at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_91]
2016-01-05 07:30:33 b.s.util [ERROR] Halting process: ("Worker died")
java.lang.RuntimeException: ("Worker died")
at backtype.storm.util$exit_process_BANG_.doInvoke(util.clj:325) [storm-core-0.9.5.jar:0.9.5] at clojure.lang.RestFn.invoke(RestFn.java:423) [clojure-1.5.1.jar:na] at backtype.storm.daemon.worker$fn__7028$fn__7029.invoke(worker.clj:497) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.daemon.executor$mk_executor_data$fn__6480$fn__6481.invoke(executor.clj:240) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.util$async_loop$fn__459.invoke(util.clj:473) [storm-core-0.9.5.jar:0.9.5]
        at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_91]
50323,2-9     Bot


On 01/04/2016 11:14 PM, O Neill, Cindy wrote:
Hi Oguz,

You could try restarting the monasca-thresh in both 'mini-mon' and ‘devstack' vagrant servers ('vagrant ssh mini-mon', 'vagrant ssh devstack' to get there). Monasca-thresh uploads the thresh topology to storm. You can see if it is not running by doing a : ‘sudo service monasca-thresh status’
If it is not running do a 'sudo service monasca-thresh restart'

You can also check to see if these are running:
sudo service storm-nimbus status
sudo service storm-supervisor status

If either of those show they aren’t running, start them. You might have to restart supervisor if it is running and nimbus isn’t.

Thanks,
Cindy


References