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

Cleanup RMNode#ReconnectNodeTransition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.6.0, 2.7.0
    • None
    • resourcemanager
    • 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. 0001-YARN-3286.patch
          7 kB
          Rohith Sharma K S
        2. YARN-3286-test-only.patch
          1 kB
          Rohith Sharma K S

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: