Преглед на файлове

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

Steve Loughran преди 9 години
родител
ревизия
51fc7f5427

+ 3 - 0
hadoop-yarn-project/CHANGES.txt

@@ -819,6 +819,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

+ 1 - 0
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()));
   }