无法初始化类org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil $ ClassLoaderHolder

时间:2018-09-28 07:48:43

标签: java hadoop java-8 hbase opentsdb

我尝试根据the official documentation安装和运行OpenTSDB。当我从here运行命令时:

tsdtmp=${TMPDIR-'/tmp'}/tsd    # For best performance, make sure
mkdir -p "$tsdtmp"             # your temporary directory uses tmpfs
./build/tsdb tsd --port=4242 --staticroot=build/staticroot --cachedir="$tsdtmp" --zkquorum=myhost:2181

我收到如下错误。有什么主意我该如何解决?如果需要任何其他信息,请告诉我。预先感谢。

2018-09-28 09:42:53,541 INFO  [AsyncHBase I/O Worker #2] UniqueId: Creating an ID for kind='metrics' name='proc.interrupts'
2018-09-28 09:42:53,542 ERROR [AsyncHBase I/O Worker #2] UniqueId: Failed to assign an ID for kind='metrics' name='proc.interrupts'
org.hbase.async.RemoteException: org.apache.hadoop.hbase.DoNotRetryIOException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil$ClassLoaderHolder
    at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:469)
    at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130)

0 个答案:

没有答案