Yarn管理界面中Queue:root和Queue:default的区别
截圖如下:
那么這兩個隊列什么區別呢?
[1]?The?root queue?is the parent of all queues. All other queues are each a child of the?root?queue or another queue (also called?hierarchical queues). It is common for queues to correspond to users, departments, or priorities.
首先default或者root都是Queue的一個名字。
default queue是root queue的子節點。
?
這里的隊列queue其實是服務于CapacityScheduler呢,就是多個任務共享集群。
capacity-scheduler.xml中的示范設置如下:
<property><name>yarn.scheduler.capacity.root.prod.capacity</name><value>40</value></property><property><name>yarn.scheduler.capacity.root.dev.capacity</name><value>60</value></property>含義是It defines two queues under the?root?queue,?prod?and?dev, which have 40% and 60% of the capacity, respectively[2].
?
總結:
queue:root是用來管理子節點queue:default的,
在不設置的情況下,默認就是default這個queue占據了queue:root中的全部內存所以才會有兩個進度條一樣長的現象。
?
Reference:
[1]https://blog.cloudera.com/untangling-apache-hadoop-yarn-part-3-scheduler-concepts/
[2]http://www.corejavaguru.com/bigdata/hadoop-tutorial/yarn-scheduler
?
總結
以上是生活随笔為你收集整理的Yarn管理界面中Queue:root和Queue:default的区别的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: gta5线上莱德悬赏目标在哪 Rocks
- 下一篇: Yarn申请的内存的精确计算(转载+应用