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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0, 3.0.0-alpha1
    • Fix Version/s: 3.2.0, 3.1.1, 3.0.3
    • Component/s: yarn
    • Labels:
      None
    • Hadoop Flags:
      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

            • Assignee:
              suma.shivaprasad Suma Shivaprasad
              Reporter:
              suma.shivaprasad Suma Shivaprasad
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: