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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: scheduler
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: