hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-375) FIFO scheduler may crash due to bugg app
Date Mon, 04 Feb 2013 18:14:12 GMT
Eli Collins created YARN-375:
--------------------------------

             Summary: 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
            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

Mime
View raw message