Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3826

Race condition in ResourceTrackerService leads to wrong diagnostics messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • resourcemanager
    • None
    • Reviewed

    Description

      Since we are calling setDiagnosticsMessage in nodeHeartbeat, which can be called concurrently, the static resync and shutdown may have wrong diagnostics messages in some cases.

      On the other side, these static members can hardly save any memory, since the normal heartbeat responses are created for each heartbeat.

      Attachments

        1. YARN-3826.01.patch
          3 kB
          Chengbing Liu
        2. YARN-3826.02.patch
          5 kB
          Chengbing Liu
        3. YARN-3826.03.patch
          5 kB
          Devaraj Kavali

        Activity

          People

            chengbing.liu Chengbing Liu
            chengbing.liu Chengbing Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: