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

In FairScheduler.attemptScheduling, we don't count containers as assigned if they have 0 memory but non-zero cores

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • scheduler
    • None
    • Reviewed

    Description

              if (Resources.greaterThan(RESOURCE_CALCULATOR, clusterResource,
                    queueMgr.getRootQueue().assignContainer(node),
                    Resources.none())) {
      

      As RESOURCE_CALCULATOR is a DefaultResourceCalculator, we won't take cores here into account.

      Attachments

        1. YARN-2111.patch
          4 kB
          Sandy Ryza

        Activity

          People

            sandyr Sandy Ryza
            sandyr Sandy Ryza
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: