Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException: com.linkedin.kmf.services.ProduceService #370

Open
SumanRamakrishna opened this issue Jul 5, 2022 · 1 comment

Comments

@SumanRamakrishna
Copy link

SumanRamakrishna commented Jul 5, 2022

Hi,
I am trying to run the below command after building the jar file. Am getting the below error. Please help.

./bin/xinfra-monitor-start.sh config/xinfra-monitor.properties

com.linkedin.xinfra.monitor.services.configs.DefaultMetricsReporterServiceConfig)
[2022-07-05 16:51:41,745] INFO ClusterTopicManipulationService constructor initiated com.linkedin.xinfra.monitor.services.ClusterTopicManipulationService (com.linkedin.xinfra.monitor.services.ClusterTopicManipulationService)
[2022-07-05 16:51:41,746] INFO TopicManagementServiceConfig values:
topic = xinfra-monitor
topic-management.minPartitionNum = 1
topic-management.partitionsToBrokersRatio = 1.0
topic-management.replicationFactor = 1
topic-management.topicAddPartitionEnabled = true
topic-management.topicCreationEnabled = true
topic-management.topicFactory.class.name = com.linkedin.xinfra.monitor.topicfactory.DefaultTopicFactory
topic-management.topicManagementEnabled = true
topic-management.topicReassignPartitionAndElectLeaderEnabled = true
zookeeper.connect = localhost:2181
(com.linkedin.xinfra.monitor.services.configs.TopicManagementServiceConfig)
Exception in thread "main" java.lang.ClassNotFoundException: com.linkedin.kmf.services.ProduceService
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at com.linkedin.xinfra.monitor.XinfraMonitor.(XinfraMonitor.java:74)
at com.linkedin.xinfra.monitor.XinfraMonitor.main(XinfraMonitor.java:186)

@github-actions
Copy link

github-actions bot commented Jul 5, 2022

This is your first issue in the repository. Thank you for raising this issue.' first issue

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

No branches or pull requests

1 participant