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.

Spark Streaming Error: java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/client/Put

Highlighted

Spark Streaming Error: java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/client/Put

Explorer

Hi,

Getting below error when trying to run a spark streaming job to read from Kafka to HBase.Not getting any error when I am creating a jar file but getting error when I am running spark submit command. 

Any help is much appreciated.

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/client/Put

1 REPLY 1
Highlighted

Re: Spark Streaming Error: java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/client/Put

Cloudera Employee

Hi, 

 

The Error means some Jar files is missing. Please make sure that the related hbase jars are added and try it again.

 

Thanks

Arun

Don't have an account?
Coming from Hortonworks? Activate your account here