日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

Yarn管理界面中Queue:root和Queue:default的区别

發布時間:2023/12/31 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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的区别的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。