kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Keylis <vkeylis2...@gmail.com>
Subject java.lang.NoClassDefFoundError: Could not initialize class com.yammer.metrics.Metrics
Date Wed, 02 Sep 2015 20:05:17 GMT
I suddenly started getting this error using the code that was perfectly
working a day before. The library containing yammer metrics exists and part
of mvn build. Please help how to resolve the issue or disable
yammer.metrics.

Thanks in advance

Exception in thread "Thread-3" java.lang.NoClassDefFoundError: Could not
initialize class com.yammer.metrics.Metrics
at
kafka.metrics.KafkaMetricsGroup$class.newTimer(KafkaMetricsGroup.scala:52)
at
kafka.consumer.FetchRequestAndResponseMetrics.newTimer(FetchRequestAndResponseStats.scala:25)
at
kafka.consumer.FetchRequestAndResponseMetrics.<init>(FetchRequestAndResponseStats.scala:26)
at
kafka.consumer.FetchRequestAndResponseStats.<init>(FetchRequestAndResponseStats.scala:37)
at
kafka.consumer.FetchRequestAndResponseStatsRegistry$$anonfun$2.apply(FetchRequestAndResponseStats.scala:50)
at
kafka.consumer.FetchRequestAndResponseStatsRegistry$$anonfun$2.apply(FetchRequestAndResponseStats.scala:50)
at kafka.utils.Pool.getAndMaybePut(Pool.scala:61)
at
kafka.consumer.FetchRequestAndResponseStatsRegistry$.getFetchRequestAndResponseStats(FetchRequestAndResponseStats.scala:54)
at kafka.consumer.SimpleConsumer.<init>(SimpleConsumer.scala:39)
at kafka.javaapi.consumer.SimpleConsumer.<init>(SimpleConsumer.scala:34)
at
com.tagged.etlhub.client.kafka.connector.driver.LeaderDiscovery.connectToLeader(LeaderDiscovery.java:90)
at
com.tagged.etlhub.client.kafka.connector.driver.LeaderDiscovery.findLeader(LeaderDiscovery.java:50)
at
com.tagged.etlhub.client.kafka.connector.driver.Connector.connect(Connector.java:208)
at
com.tagged.etlhub.client.kafka.connector.driver.Connector.createConnector(Connector.java:65)
at
com.tagged.etlhub.client.kafka.connector.driver.ConnectorFactory.getConnector(ConnectorFactory.java:11)
at
com.tagged.etlhub.client.kafka.message.TopicMessages.getConnector(TopicMessages.java:156)
at
com.tagged.etlhub.client.kafka.message.TopicMessages.connect(TopicMessages.java:45)
at
com.tagged.etlhub.client.StreamThreadPool.startStream(StreamThreadPool.java:109)
at
com.tagged.etlhub.client.StreamThreadPool.access$0(StreamThreadPool.java:93)
at com.tagged.etlhub.client.StreamThreadPool$1.run(StreamThreadPool.java:73)
at java.lang.Thread.run(Unknown Source)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message