YARN-11482. Fix bug of DRF comparision DominantResourceFairnessComparator2 in fair scheduler. (#5607). Contributed by Xiaoqiao He.
Reviewed-by: Shilun Fan <slfan1989@apache.org>
This commit is contained in:
parent
5ed7e912dc
commit
70c0aa342e
@ -390,7 +390,7 @@ public class DominantResourceFairnessPolicy extends SchedulingPolicy {
|
||||
// share for that resource
|
||||
boolean s1Needy = resourceInfo1[dominant1].getValue() <
|
||||
minShareInfo1[dominant1].getValue();
|
||||
boolean s2Needy = resourceInfo1[dominant2].getValue() <
|
||||
boolean s2Needy = resourceInfo2[dominant2].getValue() <
|
||||
minShareInfo2[dominant2].getValue();
|
||||
|
||||
int res;
|
||||
|
Loading…
x
Reference in New Issue
Block a user