Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. 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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0, 3.0.0-alpha1
    • 3.2.0, 3.1.1, 3.0.3, 2.10.1
    • yarn
    • None
    • Reviewed

    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.

      Attachments

        1. YARN-8210.1.patch
          1.0 kB
          Suma Shivaprasad

        Activity

          People

            suma.shivaprasad Suma Shivaprasad
            suma.shivaprasad Suma Shivaprasad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: