Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 230C22004CA for ; Wed, 11 May 2016 10:08:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2144F1602BF; Wed, 11 May 2016 08:08:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6A2ED1602BE for ; Wed, 11 May 2016 10:08:36 +0200 (CEST) Received: (qmail 64917 invoked by uid 500); 11 May 2016 08:08:35 -0000 Mailing-List: contact commits-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list commits@tez.apache.org Received: (qmail 64908 invoked by uid 99); 11 May 2016 08:08:35 -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; Wed, 11 May 2016 08:08:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 86114DFB14; Wed, 11 May 2016 08:08:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rbalamohan@apache.org To: commits@tez.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: tez git commit: TEZ-3251. Allow ability to add custom counters to TaskRunner2Callable (Contributed by Prasanth Jayachandran) Date: Wed, 11 May 2016 08:08:35 +0000 (UTC) archived-at: Wed, 11 May 2016 08:08:37 -0000 Repository: tez Updated Branches: refs/heads/branch-0.8 eaa51be17 -> 5fdc8228c TEZ-3251. Allow ability to add custom counters to TaskRunner2Callable (Contributed by Prasanth Jayachandran) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/5fdc8228 Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/5fdc8228 Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/5fdc8228 Branch: refs/heads/branch-0.8 Commit: 5fdc8228ce439eb96982c3efc23b8faafa3f9921 Parents: eaa51be Author: Rajesh Balamohan Authored: Wed May 11 13:35:03 2016 +0530 Committer: Rajesh Balamohan Committed: Wed May 11 13:35:03 2016 +0530 ---------------------------------------------------------------------- CHANGES.txt | 2 ++ .../java/org/apache/tez/runtime/task/TaskRunner2Callable.java | 4 ++++ 2 files changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/5fdc8228/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index dbd1f2c..cdc058b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -6,6 +6,8 @@ Release 0.8.4: Unreleased INCOMPATIBLE CHANGES ALL CHANGES: + + TEZ-3251. Allow ability to add custom counters to TaskRunner2Callable. TEZ-3250. TezTaskRunner2 should accept ExecutorService. TEZ-3193. Deadlock in AM during task commit request. TEZ-3203. DAG hangs when one of the upstream vertices has zero tasks http://git-wip-us.apache.org/repos/asf/tez/blob/5fdc8228/tez-runtime-internals/src/main/java/org/apache/tez/runtime/task/TaskRunner2Callable.java ---------------------------------------------------------------------- diff --git a/tez-runtime-internals/src/main/java/org/apache/tez/runtime/task/TaskRunner2Callable.java b/tez-runtime-internals/src/main/java/org/apache/tez/runtime/task/TaskRunner2Callable.java index 8e634fa..b39af69 100644 --- a/tez-runtime-internals/src/main/java/org/apache/tez/runtime/task/TaskRunner2Callable.java +++ b/tez-runtime-internals/src/main/java/org/apache/tez/runtime/task/TaskRunner2Callable.java @@ -21,6 +21,7 @@ import java.util.concurrent.atomic.AtomicBoolean; import org.apache.hadoop.security.UserGroupInformation; import org.apache.tez.common.CallableWithNdc; import org.apache.tez.common.TezUtilsInternal; +import org.apache.tez.common.counters.TezCounters; import org.apache.tez.runtime.LogicalIOProcessorRuntimeTask; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -141,4 +142,7 @@ public class TaskRunner2Callable extends CallableWithNdc