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:29 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 26934cf6c -> 706351afb


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/706351af
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/706351af
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/706351af

Branch: refs/heads/branch-2.8
Commit: 706351afb8dd1185b53dc957dbb3f178e9015fc5
Parents: 26934cf
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:09 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/706351af/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index 8a22e3d..9a4243a 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -608,6 +608,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/706351af/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