Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC6F4183D7 for ; Mon, 27 Jul 2015 17:52:09 +0000 (UTC) Received: (qmail 79737 invoked by uid 500); 27 Jul 2015 17:52:09 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 79647 invoked by uid 500); 27 Jul 2015 17:52:09 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 79636 invoked by uid 99); 27 Jul 2015 17:52:08 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2015 17:52:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 84682191180 for ; Mon, 27 Jul 2015 17:52:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.304 X-Spam-Level: ** X-Spam-Status: No, score=2.304 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id yrVbij08imZL for ; Mon, 27 Jul 2015 17:52:00 +0000 (UTC) Received: from oss.nttdata.co.jp (oss.nttdata.co.jp [49.212.34.109]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 1ED2E50646 for ; Mon, 27 Jul 2015 17:51:59 +0000 (UTC) Received: from mstkmbp01.local (p852ffb.tokynt01.ap.so-net.ne.jp [223.133.47.251]) by oss.nttdata.co.jp (Postfix) with ESMTP id BB54717EE02; Tue, 28 Jul 2015 02:51:19 +0900 (JST) Message-ID: <55B66F97.5050605@oss.nttdata.co.jp> Date: Tue, 28 Jul 2015 02:51:19 +0900 From: Masatake Iwasaki User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: dev@hbase.apache.org, hbase-dev@hadoop.apache.org Subject: Re: HTrace References: <53176CEF.6030806@oss.nttdata.co.jp> <53179DBB.9010006@oss.nttdata.co.jp> <53182ACE.6030404@oss.nttdata.co.jp> <1437665624124-4073471.post@n3.nabble.com> <55B6537A.4060809@oss.nttdata.co.jp> <1438015677853-4073515.post@n3.nabble.com> In-Reply-To: <1438015677853-4073515.post@n3.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.98.7 at oss.nttdata.co.jp X-Virus-Status: Clean > 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.