Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

ClassNotFoundException for Kafka StatefulSet #40

Open
liwang0513 opened this issue Dec 14, 2017 · 2 comments
Open

ClassNotFoundException for Kafka StatefulSet #40

liwang0513 opened this issue Dec 14, 2017 · 2 comments

Comments

@liwang0513
Copy link

We have a test environment on GKE v1.7.8. Kafka server pods keep failing with exception:

org.apache.kafka.common.KafkaException: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter ClassNotFoundException exception occurred
	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstances(AbstractConfig.java:288)
	at kafka.server.KafkaServer.startup(KafkaServer.scala:207)
	at io.confluent.support.metrics.SupportedServerStartable.startup(SupportedServerStartable.java:112)
	at io.confluent.support.metrics.SupportedKafka.main(SupportedKafka.java:58)
Caused by: java.lang.ClassNotFoundException: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at org.apache.kafka.common.utils.Utils.newInstance(Utils.java:308)
	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstances(AbstractConfig.java:286)
	... 3 more

This also leads to the crash of cruise-control and kafka-offset deployments.

@felipejfc
Copy link

same here

@singhwang
Copy link

singhwang commented Apr 24, 2018

same here in the vm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants