I am getting the exception below while trying to connect HBase from spark2 and insert some data using the HBaseConfiguration.
18/03/05 15:18:47 ERROR yarn.ApplicationMaster: User class threw exception: java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration
java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration
I read on Cloudera that Spark2 On HBase is not Supported as Spark On HBase is a CDH component that has a dependency on Spark 1.6. Is there any workaround to insert data into HBase from Spark2?