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

Fix bug of DRF comparison DominantResourceFairnessComparator2 in fair scheduler

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      DominantResourceFairnessComparator2 was using wrong resource info to get if one queue is needy or not now. We should fix it.

            boolean s1Needy = resourceInfo1[dominant1].getValue() <
                minShareInfo1[dominant1].getValue();
            boolean s2Needy = resourceInfo1[dominant2].getValue() <
                minShareInfo2[dominant2].getValue();
      

      Attachments

        Activity

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

          People

            hexiaoqiao Xiaoqiao He
            hexiaoqiao Xiaoqiao He
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment