启动HBase2.1.0报错Caused by: java.lang.ClassNotFoundException: org.apache.htrace.SamplerBuilder

Posted 王小雷-多面手

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动HBase2.1.0报错Caused by: java.lang.ClassNotFoundException: org.apache.htrace.SamplerBuilder相关的知识,希望对你有一定的参考价值。

启动HBase2.1.0报错Caused by: java.lang.ClassNotFoundException: org.apache.htrace.SamplerBuilder

1.问题描述

hadoop HA 3.1.0
Hbase 2.1.0启动报错

Caused by: java.lang.ClassNotFoundException: org.apache.htrace.SamplerBuilder

2.解决

将htrace-core-3.1.0-incubating.jar复制到lib路径下,就可成功找到。

cd $HBASE_HOME
cp lib/client-facing-thirdparty/htrace-core-3.1.0-incubating.jar lib/

然后启动 sbin/start-hbase.sh 成功

jps

以上是关于启动HBase2.1.0报错Caused by: java.lang.ClassNotFoundException: org.apache.htrace.SamplerBuilder的主要内容,如果未能解决你的问题,请参考以下文章

Canal 启动报错Caused by: java.io.IOException: caching_sha2_password Auth failed

启动Tomcat时候报错 Caused by: org.xml.sax.SAXParseException; lineNumber: X; columnNumber: X 错误

SpringCloud报错:Caused by: org.springframework.context.ApplicationContextException: Unable to start Em

Caused by: java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects

Spring与JDK版本不一致引发问题Caused by: java.lang.IllegalArgumentException

idea连接spark集群报错解析:Caused by: java.lang.ClassCastException