Support Questions
Find answers, ask questions, and share your expertise

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

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

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