Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Topology Error

Solved Go to solution
Highlighted

Topology Error

New Contributor

When i'm trying to deploy the topology as

storm jar /root/iot-truck-streaming/storm-streaming/target/storm-streaming-1.0-SNAPSHOT.jar com.hortonworks.streaming.impl.topologies.TruckEventKafkaExperimTopology /etc/storm_demo/config.properties

i'm getting the following error

Error: Could not find or load main class com.hortonworks.streaming.impl.topologies.TruckEventKafkaExperimTopology

topology-deployment-error.png

Kindly help us out.

Regards

Subramaniyam.KMV

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Topology Error

Super Mentor

@Subramaniyam KMV

Do you have proper read permission on the JAR "/root/iot-truck-streaming/storm-streaming/target/storm-streaming-1.0-SNAPSHOT.jar" for the user who is running the job?

Can you run the following command to findout if the jar is containing the missing class or not?

jar -tvf  /root/iot-truck-streaming/storm-streaming/target/storm-streaming-1.0-SNAPSHOT.jar  | grep  'TruckEventKafkaExperimTopology'

.

Or can you locate the JAR in your filesystem that contains the following class ?

com.hortonworks.streaming.impl.topologies.TruckEventKafkaExperimTopology
1 REPLY 1

Re: Topology Error

Super Mentor

@Subramaniyam KMV

Do you have proper read permission on the JAR "/root/iot-truck-streaming/storm-streaming/target/storm-streaming-1.0-SNAPSHOT.jar" for the user who is running the job?

Can you run the following command to findout if the jar is containing the missing class or not?

jar -tvf  /root/iot-truck-streaming/storm-streaming/target/storm-streaming-1.0-SNAPSHOT.jar  | grep  'TruckEventKafkaExperimTopology'

.

Or can you locate the JAR in your filesystem that contains the following class ?

com.hortonworks.streaming.impl.topologies.TruckEventKafkaExperimTopology
Don't have an account?
Coming from Hortonworks? Activate your account here