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

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment