hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Sasaki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-4689) FairScheduler: Cleanup preemptContainer to be more readable
Date Sun, 14 Feb 2016 06:25:18 GMT

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

Kai Sasaki updated YARN-4689:
-----------------------------
    Attachment: YARN-4689.01.patch

> FairScheduler: Cleanup preemptContainer to be more readable
> -----------------------------------------------------------
>
>                 Key: YARN-4689
>                 URL: https://issues.apache.org/jira/browse/YARN-4689
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>            Reporter: Karthik Kambatla
>            Priority: Trivial
>              Labels: newbie
>         Attachments: YARN-4689.01.patch
>
>
> In FairScheduler#preemptContainer, we check if a queue is preemptable. The code there
could be cleaner if we don't use continue, but just the plain old if-else. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message