YARN-6965. Duplicate instantiation in FairSchedulerQueueInfo. Contributed by Masahiro Tanaka.
This commit is contained in:
parent
75dd866bfb
commit
588c190afd
|
@ -99,7 +99,6 @@ public class FairSchedulerQueueInfo {
|
||||||
steadyFairResources = new ResourceInfo(queue.getSteadyFairShare());
|
steadyFairResources = new ResourceInfo(queue.getSteadyFairShare());
|
||||||
fairResources = new ResourceInfo(queue.getFairShare());
|
fairResources = new ResourceInfo(queue.getFairShare());
|
||||||
minResources = new ResourceInfo(queue.getMinShare());
|
minResources = new ResourceInfo(queue.getMinShare());
|
||||||
maxResources = new ResourceInfo(queue.getMaxShare());
|
|
||||||
maxResources = new ResourceInfo(
|
maxResources = new ResourceInfo(
|
||||||
Resources.componentwiseMin(queue.getMaxShare(),
|
Resources.componentwiseMin(queue.getMaxShare(),
|
||||||
scheduler.getClusterResource()));
|
scheduler.getClusterResource()));
|
||||||
|
|
Loading…
Reference in New Issue