> Thank you for getting back to me. Yes I see the Client_htrace.out getting
> created on the client node. However it is empty. We are using htrace-2.04
> version. I believe that writes the span asynchronously. Also the
client node
> is running tomcat for serving requests. Would this be a problem?
Hmm... Do you have multiple processes on the client?
SpanReceiverHost must be initialized in each process.
If you call SpanReceiverHost#getInstance in one process and
call Trace#startSpan in another process,
the client span is not written to file.
I think running Tomcat is not related to the issue.
> Is there any need to call closeReceivers in the client side code ? I
tried
> it but that did not seem to work.
SpanReceiverHost#closeReceivers should be called on just before process exit
but spans will be written to file immediately without that.
On 7/28/15 01:47, Priyanka B wrote:
> Hi Masatake,
>
> Thank you for getting back to me. Yes I see the Client_htrace.out getting
> created on the client node. However it is empty. We are using htrace-2.04
> version. I believe that writes the span asynchronously. Also the
client node
> is running tomcat for serving requests. Would this be a problem?
>
> Is there any need to call closeReceivers in the client side code ? I
tried
> it but that did not seem to work.
>
>
> Thanks,
> Priyanka
>
>
>
> --
> View this message in context:
http://apache-hbase.679495.n3.nabble.com/HTrace-tp4056705p4073515.html
> Sent from the HBase Developer mailing list archive at Nabble.com.