admin管理员组

文章数量:1612060

cdh默认都是使用FairScheduler调度,cdp后改为Capacity Scheduler。Capacity Scheduler支持标签调度,可以将不同类型任务调度到不同物理服务器上,进行隔离。

1.登录cm管理控制台,选择CapacityScheduler

 

2. 在“容量调度程序配置高级配置代码段(安全阀)”配置队列

 

xml配置如下:

 <configuration><property><name>yarn.scheduler.capacity.root.queues</name><value>default,hadoop,dev</value></property><property><name>yarn.scheduler.capacity.root.capacity</name><value>100</value></property><property><name>yarn.scheduler.capacity.root.default.capacity</name><value>40</value></property><property><name>yarn.scheduler.capacity.root.defa

本文标签: Capacityscheduler