YARN-6061. Addendum. Remove extraneous change.
This commit is contained in:
parent
8e53f2b9b0
commit
353a9b2d91
@ -90,7 +90,7 @@ public void computeSteadyShares(Collection<? extends FSQueue> queues,
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean checkIfUsageOverFairShare(Resource usage, Resource fairShare) {
|
public boolean checkIfUsageOverFairShare(Resource usage, Resource fairShare) {
|
||||||
return Resources.greaterThan(CALCULATOR, null, usage, fairShare);
|
return !Resources.fitsIn(usage, fairShare);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user