tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject tez git commit: TEZ-2948 addendum. Stop using dagName in the dagComplete notification to TaskCommunicators. (sseth)
Date Wed, 25 Nov 2015 00:35:01 GMT
Repository: tez
Updated Branches:
  refs/heads/master 87270e6ab -> d9560b904


TEZ-2948 addendum. Stop using dagName in the dagComplete notification to
TaskCommunicators. (sseth)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/d9560b90
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/d9560b90
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/d9560b90

Branch: refs/heads/master
Commit: d9560b904f1348a195c353d6642474487570193b
Parents: 87270e6
Author: Siddharth Seth <sseth@apache.org>
Authored: Tue Nov 24 16:34:06 2015 -0800
Committer: Siddharth Seth <sseth@apache.org>
Committed: Tue Nov 24 16:34:06 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/tez/dag/app/TaskCommunicatorContextImpl.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/d9560b90/tez-dag/src/main/java/org/apache/tez/dag/app/TaskCommunicatorContextImpl.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/dag/app/TaskCommunicatorContextImpl.java
b/tez-dag/src/main/java/org/apache/tez/dag/app/TaskCommunicatorContextImpl.java
index d344fd3..6ae6dad 100644
--- a/tez-dag/src/main/java/org/apache/tez/dag/app/TaskCommunicatorContextImpl.java
+++ b/tez-dag/src/main/java/org/apache/tez/dag/app/TaskCommunicatorContextImpl.java
@@ -151,8 +151,7 @@ public class TaskCommunicatorContextImpl implements TaskCommunicatorContext,
Ver
 
   @Override
   public String getCurrentAppIdentifier() {
-    return getDag().getID().getApplicationId().toString();
-
+    return context.getApplicationID().toString();
   }
 
   @Override


Mime
View raw message