Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-375

FIFO scheduler may crash due to bugg app

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Problem
    • 2.0.0-alpha
    • None
    • None
    • None

    Description

      The following code should check for a 0 return value rather than crash!

          int availableContainers = 
            node.getAvailableResource().getMemory() / capability.getMemory(); // TODO: A buggy
                                                                              // application
                                                                              // with this
                                                                              // zero would
                                                                              // crash the
                                                                              // scheduler.
      

      Attachments

        Activity

          People

            acmurthy Arun Murthy
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: