Member since
02-05-2020
6
Posts
0
Kudos Received
0
Solutions
05-05-2020
09:21 AM
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
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Kafka
-
Apache Spark
02-05-2020
06:15 AM
sudo su - ${user} -c "beeline -u 'jdbc:hive2://server:port,connectionstring' -e 'insert statement'; "
above line works fine if I take out sudo, with sudo it doesnt work, any help or advice is much appreciated.
Thanks!
... View more
Labels:
- Labels:
-
Apache Hive