启动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.问题描述
    • 2.解决

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_第1张图片

你可能感兴趣的:(HBase)