hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject hadoop git commit: YARN-4682. AMRM client to log when AMRM token updated. (Prabhu Joseph via stevel)
Date Fri, 12 Feb 2016 11:02:39 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 dcead143f -> 2ea1913ca


YARN-4682. AMRM client to log when AMRM token updated. (Prabhu Joseph via stevel)


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

Branch: refs/heads/branch-2
Commit: 2ea1913cad4d53147a47b79e14111955d7e7a938
Parents: dcead14
Author: Steve Loughran <stevel@apache.org>
Authored: Fri Feb 12 10:58:09 2016 +0000
Committer: Steve Loughran <stevel@apache.org>
Committed: Fri Feb 12 10:58:46 2016 +0000

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                   | 3 +++
 .../org/apache/hadoop/yarn/client/api/impl/AMRMClientImpl.java    | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2ea1913c/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index 71e9293..182ddbc 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -764,6 +764,9 @@ Release 2.8.0 - UNRELEASED
     YARN-2575. Create separate ACLs for Reservation create/update/delete/list
     ops (Sean Po via asuresh)
 
+    YARN-4682. AMRM client to log when AMRM token updated.
+    (Prabhu Joseph via stevel)
+
   OPTIMIZATIONS
 
     YARN-3339. TestDockerContainerExecutor should pull a single image and not

http://git-wip-us.apache.org/repos/asf/hadoop/blob/2ea1913c/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/AMRMClientImpl.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/AMRMClientImpl.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/AMRMClientImpl.java
index d2e931e..37a1fb6 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/AMRMClientImpl.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/AMRMClientImpl.java
@@ -915,6 +915,7 @@ public class AMRMClientImpl<T extends ContainerRequest> extends
AMRMClient<T> {
     // to ensure we replace the previous token setup by the RM.
     // Afterwards we can update the service address for the RPC layer.
     UserGroupInformation currentUGI = UserGroupInformation.getCurrentUser();
+    LOG.info("Updating with new AMRMToken");
     currentUGI.addToken(amrmToken);
     amrmToken.setService(ClientRMProxy.getAMRMTokenService(getConfig()));
   }


Mime
View raw message