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
This commit is contained in:
parent
ef3ecc308d
commit
b1833d9ba2
|
@ -1111,7 +1111,6 @@ 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()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue