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

Fix missing break statement in ContainerScheduler#handle

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 3.2.1, 3.1.3
    • Component/s: None
    • Labels:
      None

      Description

      It seems that we miss a break in switch-case

      case RECOVERY_COMPLETED:
        startPendingContainers(maxOppQueueLength <= 0);
        metrics.setQueuedContainers(queuedOpportunisticContainers.size(),
           queuedGuaranteedContainers.size());
      //break;missed
      default:
        LOG.error("Unknown event arrived at ContainerScheduler: "
          + event.toString());
      

        Attachments

        1. YARN-9594_1.patch
          1 kB
          lujie

          Activity

            People

            • Assignee:
              xiaoheipangzi lujie
              Reporter:
              xiaoheipangzi lujie
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: