tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject [36/50] [abbrv] git commit: TEZ-168. Fix synchronization issue in use of container tokens when launching a container.
Date Tue, 04 Jun 2013 05:33:38 GMT
TEZ-168. Fix synchronization issue in use of container tokens when launching a container.


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

Branch: refs/heads/master
Commit: 34de34b31ec87e7abbdd1fabe067801a4aa1fe01
Parents: 9f0d4c3
Author: Hitesh Shah <hitesh@apache.org>
Authored: Thu May 30 13:21:01 2013 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Thu May 30 13:21:01 2013 -0700

----------------------------------------------------------------------
 .../dag/app/rm/container/AMContainerHelpers.java   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/34de34b3/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java
b/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java
index 357eeda..c17f7f2 100644
--- a/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java
+++ b/tez-dag/src/main/java/org/apache/tez/dag/app/rm/container/AMContainerHelpers.java
@@ -188,7 +188,7 @@ public class AMContainerHelpers {
     // Construct the actual Container
     ContainerLaunchContext container =
         ContainerLaunchContext.newInstance(lResources, myEnv, commands,
-            myServiceData, commonContainerSpec.getTokens(), acls);
+            myServiceData, commonContainerSpec.getTokens().duplicate(), acls);
 
     return container;
   }


Mime
View raw message