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

Active nodes can be decremented below 0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.9, 2.0.6-alpha, 3.0.0-alpha1
    • Fix Version/s: 0.23.10, 2.1.1-beta
    • Component/s: resourcemanager
    • Labels:
      None

      Description

      The issue is in RMNodeImpl where both RUNNING and UNHEALTHY states that transition to a deactive state (LOST, DECOMMISSIONED, REBOOTED) use the same DeactivateNodeTransition class. The DeactivateNodeTransition class naturally decrements the active node, however the in cases where the node has transition to UNHEALTHY the active count has already been decremented.

        Attachments

        1. YARN-1101_b0.23_v1.patch
          6 kB
          Robert Parker
        2. YARN-1101_v1.patch
          6 kB
          Robert Parker

          Activity

            People

            • Assignee:
              robsparker Robert Parker
              Reporter:
              robsparker Robert Parker
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: