@Override protected Resource getPlanQueueCapacity(String planQueueName) { Resource minAllocation = getMinAllocation(); ResourceCalculator rescCalc = getResourceCalculator(); CSQueue planQueue = capScheduler.getQueue(planQueueName); return rescCalc.multiplyAndNormalizeDown(capScheduler.getClusterResource(), planQueue.getAbsoluteCapacity(), minAllocation); }
@Override protected Resource getPlanQueueCapacity(String planQueueName) { Resource minAllocation = getMinAllocation(); ResourceCalculator rescCalc = getResourceCalculator(); CSQueue planQueue = capScheduler.getQueue(planQueueName); return rescCalc.multiplyAndNormalizeDown(capScheduler.getClusterResource(), planQueue.getAbsoluteCapacity(), minAllocation); }
@Override protected Resource getPlanQueueCapacity(String planQueueName) { Resource minAllocation = getMinAllocation(); ResourceCalculator rescCalc = getResourceCalculator(); CSQueue planQueue = capScheduler.getQueue(planQueueName); return rescCalc.multiplyAndNormalizeDown(capScheduler.getClusterResource(), planQueue.getAbsoluteCapacity(), minAllocation); }