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

Race condition in ResourceTrackerService leads to wrong diagnostics messages

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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.03.patch
          5 kB
          Devaraj K
        2. YARN-3826.02.patch
          5 kB
          Chengbing Liu
        3. YARN-3826.01.patch
          3 kB
          Chengbing Liu

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: