修改Yarn服务的配置,修改Capacity Scheduler配置项如下:
修改部分:
yarn.scheduler.capacity.root.default.capacity=60
yarn.scheduler.capacity.root.default.maximum-capacity=60
yarn.scheduler.capacity.root.queues=default,dev
新增部分:
yarn.scheduler.capacity.root.dev.capacity=40
yarn.scheduler.capacity.root.dev.maximum-capacity=40
yarn.scheduler.capacity.root.dev.state=RUNNING
yarn.scheduler.capacity.queue-mappings=u:etl:dev,u:ETL:dev,u:gotop:dev,u:hive:default,g:hadoop:dev,g:hdfs:dev
yarn.scheduler.capacity.queue-mappings-override.enable=true
yarn.scheduler.capacity.root.dev.acl_administer_jobs=
yarn.scheduler.capacity.root.dev.acl_submit_applications=
本文转自 yntmdr 51CTO博客,原文链接:http://blog.51cto.com/yntmdr/2049794,如需转载请自行联系原作者