YARN-6965. Duplicate instantiation in FairSchedulerQueueInfo. Contributed by Masahiro Tanaka.
(cherry picked from commit588c190afd
) (cherry picked from commita28a3dc8f2
)
This commit is contained in:
parent
a611922de4
commit
2b92c1be04
|
@ -87,7 +87,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