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

Fix missing break statement in ContainerScheduler#handle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, 3.2.1, 3.1.3, 2.10.2
    • None
    • 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

            xiaoheipangzi lujie
            xiaoheipangzi lujie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: