YARN-10954. Remove commented code block from CSQueueUtils#loadCapacitiesByLabelsFromConf. Contributed by Andras Gyori
This commit is contained in:
parent
025f97c8c2
commit
616cea2e80
@ -92,15 +92,6 @@ public static void loadCapacitiesByLabelsFromConf(
|
|||||||
queueCapacities.setWeight(label,
|
queueCapacities.setWeight(label,
|
||||||
csConf.getLabeledQueueWeight(queuePath, label));
|
csConf.getLabeledQueueWeight(queuePath, label));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*float absCapacity = queueCapacities.getCapacity(label);
|
|
||||||
float absMaxCapacity = queueCapacities.getMaximumCapacity(label);
|
|
||||||
if (absCapacity > absMaxCapacity) {
|
|
||||||
throw new IllegalArgumentException("Illegal queue capacity setting "
|
|
||||||
+ "(abs-capacity=" + absCapacity + ") > (abs-maximum-capacity="
|
|
||||||
+ absMaxCapacity + ") for queue=["
|
|
||||||
+ queuePath + "],label=[" + label + "]");
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user