在http://hadoop.apache.org/docs/r2.3.0/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html , 我看见了
yarn.scheduler.capacity..capacity: Queue capacity in percentage (%) as a float (e.g. 12.5).
The sum of capacities for all queues, at each level, must be equal to 100. Applications in the queue may consume more resources than the queue's capacity if there are free resources, providing elasticity.
但是,我不明白加粗的句子。
等级是什么意思?如果所有队列的容量总和不是 100,会发生什么情况?
最佳答案
队列可以有子队列。顶层是所有队列,这些队列的容量总和必须为 100。如果队列有子队列,则需要第二级队列和子队列的容量需要加起来为 100。将队列分解为子队列的每个子队列都是具有相同“总和 100”要求的另一个级别。如果一个级别的总和不是 100,我想你会得到一个错误。
关于hadoop - 我不明白 CapacityScheduler 中的 "The sum of capacities for all queues, at each level, must be equal to 100",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26591013/