Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-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 374C119DE9 for ; Fri, 15 Apr 2016 14:59:30 +0000 (UTC) Received: (qmail 60489 invoked by uid 500); 15 Apr 2016 14:59:30 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 60451 invoked by uid 500); 15 Apr 2016 14:59:29 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 60435 invoked by uid 99); 15 Apr 2016 14:59:29 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2016 14:59:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 89F2CDFFD9; Fri, 15 Apr 2016 14:59:29 +0000 (UTC) From: ShawnWalker To: dev@accumulo.apache.org Reply-To: dev@accumulo.apache.org References: In-Reply-To: Subject: [GitHub] accumulo pull request: ACCUMULO-4191 Tracing on client can sometim... Content-Type: text/plain Message-Id: <20160415145929.89F2CDFFD9@git1-us-west.apache.org> Date: Fri, 15 Apr 2016 14:59:29 +0000 (UTC) Github user ShawnWalker commented on a diff in the pull request: https://github.com/apache/accumulo/pull/94#discussion_r59887691 --- Diff: core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchWriter.java --- @@ -733,7 +733,7 @@ else if (Tables.getTableState(context.getInstance(), table) == TableState.OFFLIN void queueMutations(final MutationSet mutationsToSend) throws InterruptedException { if (null == mutationsToSend) return; - binningThreadPool.execute(new Runnable() { + binningThreadPool.execute(Trace.wrap(new Runnable() { --- End diff -- Looking at `org.apache.htrace.wrappers.TraceRunnable`, it's not really designed to be used as you're suggesting. One would hope to be able to write: ```java threadPool.execute(new TraceRunnable() { ... }) ``` But the best that `TraceRunnable` allows is: ```java threadPool.execute(new TraceRunnable(new Runnable() {...})); ``` --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---