Skip to content

Commit

Permalink
YARN-10954. Remove commented code block from CSQueueUtils#loadCapacit…
Browse files Browse the repository at this point in the history
…iesByLabelsFromConf. Contributed by Andras Gyori
  • Loading branch information
9uapaw authored and HarshitGupta11 committed Nov 28, 2022
1 parent 5b82995 commit 6f1661d
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,6 @@ public static void loadCapacitiesByLabelsFromConf(
queueCapacities.setWeight(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 + "]");
}*/
}
}

Expand Down

0 comments on commit 6f1661d

Please sign in to comment.