Details
Description
YARN-4682 added logs to track when AM RM token is updated for debuggability purposes. However this is printed on every heartbeat and could cause the AM logs to be flooded with this whenever RM's Master key is rolled over especially if its a long running AM. Hence proposing to remove this log line. As explained in https://issues.apache.org/jira/browse/YARN-3104?focusedCommentId=14298692&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14298692 , the AM-RM connection is not re-established so the updated token in the client's UGI is never re-sent to the RPC server andRM continues to send the token each heartbeat since it cannot be sure whether the client really has the new token. Hence the log lines are printed on every heartbeat.