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

Cleanup RMNode#ReconnectNodeTransition

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.6.0, 2.7.0
    • Fix Version/s: None
    • Component/s: resourcemanager
    • Labels:
      None

      Description

      RMNode#ReconnectNodeTransition has messed up for every ReconnectedEvent. This part of the code can be clean up where we do not require to remove node and add new node every time.

      Supporting to above point, in the issue discussion YARN-3222 mentioned in the comment link1 and link2

      Clean up can do the following things

      1. It always remove an old node and add a new node. This is not really required, instead old node can be updated with new values.
      2. RMNode#totalCapability has stale capability after NM is reconnected.

        Attachments

        1. YARN-3286-test-only.patch
          1 kB
          Rohith Sharma K S
        2. 0001-YARN-3286.patch
          7 kB
          Rohith Sharma K S

          Issue Links

            Activity

              People

              • Assignee:
                rohithsharma Rohith Sharma K S
                Reporter:
                rohithsharma Rohith Sharma K S
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: