You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by "张铎 (Duo Zhang)" <pa...@gmail.com> on 2020/01/19 13:13:10 UTC

Re: Hbase trace

Which version do you use? For 2.x, the htrace system is broken.

qq <47...@qq.com> 于2020年1月19日周日 上午10:51写道:

> Hi all.
>
>    When I use Hbase Htrace as document, but I can’t get any tracing
> information ? Why ? Thanks very much.
>
>
>
> <property>
>   <name>hbase.trace.spanreceiver.classes</name>
>   <value>org.apache.htrace.core.LocalFileSpanReceiver</value>
> </property>
> <property>
>   <name>hbase.htrace.local-file-span-receiver.path</name>
>   <value>/var/log/hbase/htrace.out</value>
> </property>
>
>
>
>
>
> Up is my test image.
>
>    But I can’t find file which is /var/log/hbase/htrace.out on my hbase
> cluster nodes.
>
>
> Alex Fu
>
>

Re: Hbase trace

Posted by Wei-Chiu Chuang <we...@apache.org>.
As far as I know the HTrace server is not supported by CDH6. (It didn't
work the last time I tried)

On Sun, Jan 19, 2020 at 8:31 PM qq <47...@qq.com> wrote:

> Oh . Thanks very much. I use 2.1.0-cdh6.3.1 version. And how can I also
> trace hbase like Htrace on the version ?
>
> Alex Fu
>
>
> > 2020年1月19日 21:13,张铎(Duo Zhang) <pa...@gmail.com> 写道:
> >
> > Which version do you use? For 2.x, the htrace system is broken.
> >
> > qq <471237531@qq.com <ma...@qq.com>> 于2020年1月19日周日 上午10:51写道:
> > Hi all.
> >
> >    When I use Hbase Htrace as document, but I can’t get any tracing
> information ? Why ? Thanks very much.
> >
> >
> >
> > <property>
> >   <name>hbase.trace.spanreceiver.classes</name>
> >   <value>org.apache.htrace.core.LocalFileSpanReceiver</value>
> > </property>
> > <property>
> >   <name>hbase.htrace.local-file-span-receiver.path</name>
> >   <value>/var/log/hbase/htrace.out</value>
> > </property>
> >
> >
> >
> >
> >
> > Up is my test image.
> >
> >    But I can’t find file which is /var/log/hbase/htrace.out on my hbase
> cluster nodes.
> >
> >
> > Alex Fu
> >
>
>

Re: Hbase trace

Posted by qq <47...@qq.com>.
Oh . Thanks very much. I use 2.1.0-cdh6.3.1 version. And how can I also trace hbase like Htrace on the version ? 

Alex Fu


> 2020年1月19日 21:13,张铎(Duo Zhang) <pa...@gmail.com> 写道:
> 
> Which version do you use? For 2.x, the htrace system is broken.
> 
> qq <471237531@qq.com <ma...@qq.com>> 于2020年1月19日周日 上午10:51写道:
> Hi all.
> 
>    When I use Hbase Htrace as document, but I can’t get any tracing information ? Why ? Thanks very much.
> 
> 
> 
> <property>
>   <name>hbase.trace.spanreceiver.classes</name>
>   <value>org.apache.htrace.core.LocalFileSpanReceiver</value>
> </property>
> <property>
>   <name>hbase.htrace.local-file-span-receiver.path</name>
>   <value>/var/log/hbase/htrace.out</value>
> </property>
> 
> 
> 
> 
> 
> Up is my test image.
> 
>    But I can’t find file which is /var/log/hbase/htrace.out on my hbase cluster nodes.
> 
> 
> Alex Fu
>