[jira] [Commented] (YARN-9594) Fix missing break statement in ContainerScheduler#handle
[ https://issues.apache.org/jira/browse/YARN-9594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17330918#comment-17330918 ] Jim Brennan commented on YARN-9594: --- [~xiaoheipangzi] thanks for fixing this. I took the liberty of pulling it back to branch-2.10. > Fix missing break statement in ContainerScheduler#handle > > > Key: YARN-9594 > URL: https://issues.apache.org/jira/browse/YARN-9594 > Project: Hadoop YARN > Issue Type: Bug >Reporter: lujie >Assignee: lujie >Priority: Major > Fix For: 3.3.0, 3.2.1, 3.1.3 > > Attachments: YARN-9594_1.patch > > > It seems that we miss a break in switch-case > {code:java} > case RECOVERY_COMPLETED: > startPendingContainers(maxOppQueueLength <= 0); > metrics.setQueuedContainers(queuedOpportunisticContainers.size(), > queuedGuaranteedContainers.size()); > //break;missed > default: > LOG.error("Unknown event arrived at ContainerScheduler: " > + event.toString()); > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-9594) Fix missing break statement in ContainerScheduler#handle
[ https://issues.apache.org/jira/browse/YARN-9594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861235#comment-16861235 ] Hudson commented on YARN-9594: -- FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #16720 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/16720/]) YARN-9594. Fix missing break statement in ContainerScheduler#handle. (bibinchundatt: rev 6d80b9bc3ff3ba8073e3faf64551b9109d2aa2ad) * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/scheduler/ContainerScheduler.java > Fix missing break statement in ContainerScheduler#handle > > > Key: YARN-9594 > URL: https://issues.apache.org/jira/browse/YARN-9594 > Project: Hadoop YARN > Issue Type: Bug >Reporter: lujie >Assignee: lujie >Priority: Major > Attachments: YARN-9594_1.patch > > > It seems that we miss a break in switch-case > {code:java} > case RECOVERY_COMPLETED: > startPendingContainers(maxOppQueueLength <= 0); > metrics.setQueuedContainers(queuedOpportunisticContainers.size(), > queuedGuaranteedContainers.size()); > //break;missed > default: > LOG.error("Unknown event arrived at ContainerScheduler: " > + event.toString()); > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org