From 9a895a90d9a05b244bc5eafc5c48231c132baad5 Mon Sep 17 00:00:00 2001 From: Wangda Tan Date: Fri, 27 Apr 2018 13:07:38 -0700 Subject: [PATCH] YARN-8210. AMRMClient logging on every heartbeat to track updation of AM RM token causes too many log lines to be generated in AM logs. (Suma Shivaprasad via wangda) Change-Id: I70edd6e301fd5e78d479e1882aedc9332a0827aa (cherry picked from commit b1833d9ba2c078582161da45ac392dd5c361dcdf) (cherry picked from commit f9add5fdd9add4a5e6154de8ba6d9a17d123ac70) --- .../org/apache/hadoop/yarn/client/api/impl/AMRMClientImpl.java | 1 - 1 file changed, 1 deletion(-) 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 de9877b85ae..bd514db2ecc 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 @@ -945,7 +945,6 @@ public class AMRMClientImpl extends AMRMClient { // 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())); }