这是我按照本文档中的说明在我的 HBase 日志中看到的内容:
http://hbase.apache.org/book.html#tracing
2017-03-02 09:47:12,851 ERROR [main] htrace.SpanReceiverBuilder: SpanReceiverBuilder cannot find a constructor for class org.apache.htrace.impl.ZipkinSpanReceiverwhich takes an HTraceConfiguration. Disabling span receiver.
这是我在 hbase-site.xml 中的条目:
<property>
<name>hbase.trace.spanreceiver.classes</name>
<value>org.apache.htrace.impl.ZipkinSpanReceiver</value>
</property>
<property>
<name>hbase.htrace.zipkin.collector-hostname</name>
<value>jesaremi-svpc</value>
</property>
<property>
<name>hbase.htrace.zipkin.collector-port</name>
<value>9410</value>
</property>
我在 HBase Lib 文件夹中有以下附加 jar 文件:
zipkin-1.20.1.jar
htrace-core-3.1.0-incubating.jar
htrace-zipkin-4.2.0-incubating.jar