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 "Arun C Murthy (JIRA)" <ji...@apache.org> on 2013/02/04 20:24:14 UTC

[jira] [Commented] (YARN-375) FIFO scheduler may crash due to bugg app

    [ https://issues.apache.org/jira/browse/YARN-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570545#comment-13570545 ] 

Arun C Murthy commented on YARN-375:
------------------------------------

I believe this doesn't happen at all since there is a check upfront, but I'll double-check to make sure.
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira