本文共 706 字,大约阅读时间需要 2 分钟。
修改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=