YARN-6061. Addendum. Remove extraneous change.
(cherry picked from commit 353a9b2d91
)
This commit is contained in:
parent
eb5500f0e7
commit
58acb676a2
|
@ -90,7 +90,7 @@ public class DominantResourceFairnessPolicy extends SchedulingPolicy {
|
|||
|
||||
@Override
|
||||
public boolean checkIfUsageOverFairShare(Resource usage, Resource fairShare) {
|
||||
return Resources.greaterThan(CALCULATOR, null, usage, fairShare);
|
||||
return !Resources.fitsIn(usage, fairShare);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue