hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-375) FIFO scheduler may crash due to bugg app
Date Sat, 04 Apr 2015 03:17:34 GMT

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

Junping Du resolved YARN-375.
-----------------------------
    Resolution: Not a Problem

> FIFO scheduler may crash due to bugg app  
> ------------------------------------------
>
>                 Key: YARN-375
>                 URL: https://issues.apache.org/jira/browse/YARN-375
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Arun C Murthy
>            Priority: Critical
>
> The following code should check for a 0 return value rather than crash!
> {code}
>     int availableContainers = 
>       node.getAvailableResource().getMemory() / capability.getMemory(); // TODO: A buggy
>                                                                         // application
>                                                                         // with this
>                                                                         // zero would
>                                                                         // crash the
>                                                                         // scheduler.
> {code}



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

Mime
View raw message