tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bi...@apache.org
Subject git commit: Emergency quick fix for YARN-701
Date Sat, 20 Jul 2013 04:59:30 GMT
Updated Branches:
  refs/heads/master 172cd87dd -> 85d073153


Emergency quick fix for YARN-701


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

Branch: refs/heads/master
Commit: 85d073153bf41e093c030e99643a28ee7677423f
Parents: 172cd87
Author: Bikas Saha <bikas@apache.org>
Authored: Fri Jul 19 21:56:14 2013 -0700
Committer: Bikas Saha <bikas@apache.org>
Committed: Fri Jul 19 21:56:14 2013 -0700

----------------------------------------------------------------------
 tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/85d07315/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java b/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
index c276e4f..6a5ff15 100644
--- a/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
+++ b/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
@@ -1084,6 +1084,7 @@ public class DAGAppMaster extends CompositeService {
     UserGroupInformation.setConfiguration(conf);
     UserGroupInformation appMasterUgi = UserGroupInformation
         .createRemoteUser(jobUserName);
+    appMasterUgi.addCredentials(UserGroupInformation.getCurrentUser().getCredentials());
     appMasterUgi.doAs(new PrivilegedExceptionAction<Object>() {
       @Override
       public Object run() throws Exception {


Mime
View raw message