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

Fix bug of DRF comparison DominantResourceFairnessComparator2 in fair scheduler

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: