You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jim Brennan (Jira)" <ji...@apache.org> on 2021/04/23 16:57:00 UTC

[jira] [Updated] (YARN-9594) Fix missing break statement in ContainerScheduler#handle

     [ https://issues.apache.org/jira/browse/YARN-9594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Brennan updated YARN-9594:
------------------------------
    Fix Version/s: 2.10.2

> 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, 2.10.2
>
>         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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org