I am trying to use Java to connect HBase. There are only 1 node, which is my own machine. It seems that I cannot connect successfully.
Here is my Java code:
<
I got this error when connecting to Hbase from java library without spark as well. I have added below classpath but it didn't work
export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/usr/lib/hbase/*
But then i added hbase-solr path as htrace jar is present inside this path
export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/usr/lib/hbase/*:/usr/lib/hbase-solr/lib/*
Hope this should work for you.