Cannot connect to HBase using Java

前端 未结 4 1211
长发绾君心
长发绾君心 2021-01-26 06:08

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:

<         


        
4条回答
  •  我在风中等你
    2021-01-26 06:23

    Caused by:

    java.lang.NoClassDefFoundError: org/cloudera/htrace/Trace
    

    Based on this line in error stack trace including htrace-core.jar might help.

提交回复
热议问题