操作:
YARN→Config→Advanced→Schedule
1 capacity-scheduler=null 2 yarn.scheduler.capacity.default.minimum-user-limit-percent=100 3 yarn.scheduler.capacity.maximum-am-resource-percent=0.2 4 yarn.scheduler.capacity.maximum-applications=10000 5 yarn.scheduler.capacity.node-locality-delay=40 6 yarn.scheduler.capacity.root.accessible-node-labels=* 7 yarn.scheduler.capacity.root.acl_administer_queue=* 8 yarn.scheduler.capacity.root.capacity=100 9 yarn.scheduler.capacity.root.default.acl_administer_jobs=* 10 yarn.scheduler.capacity.root.default.acl_submit_applications=* 11 yarn.scheduler.capacity.root.default.capacity=100 12 yarn.scheduler.capacity.root.default.maximum-capacity=100 13 yarn.scheduler.capacity.root.default.state=RUNNING 14 yarn.scheduler.capacity.root.default.user-limit-factor=1 15 yarn.scheduler.capacity.root.queues=Support,Marketing,Engineering 16 yarn.scheduler.capacity.root.Engineering.Development.acl_administer_jobs=* 17 yarn.scheduler.capacity.root.Engineering.Development.acl_administer_queue=* 18 yarn.scheduler.capacity.root.Engineering.Development.acl_submit_applications=* 19 yarn.scheduler.capacity.root.Engineering.Development.capacity=20 20 yarn.scheduler.capacity.root.Engineering.Development.minimumaximum-capacity=100 21 yarn.scheduler.capacity.root.Engineering.Development.state=RUNNING 22 yarn.scheduler.capacity.root.Engineering.Development.user-limit-factor=1 23 yarn.scheduler.capacity.root.Engineering.QE.acl_administer_jobs=* 24 yarn.scheduler.capacity.root.Engineering.QE.acl_administer_queue=* 25 yarn.scheduler.capacity.root.Engineering.QE.acl_submit_applications=* 26 yarn.scheduler.capacity.root.Engineering.QE.capacity=80 27 yarn.scheduler.capacity.root.Engineering.QE.maximum-capacity=90 28 yarn.scheduler.capacity.root.Engineering.QE.state=RUNNING 29 yarn.scheduler.capacity.root.Engineering.QE.user-limit-factor=1 30 yarn.scheduler.capacity.root.Engineering.acl_administer_jobs=* 31 yarn.scheduler.capacity.root.Engineering.acl_administer_queue=* 32 yarn.scheduler.capacity.root.Engineering.acl_submit_applications=* 33 yarn.scheduler.capacity.root.Engineering.capacity=60 34 yarn.scheduler.capacity.root.Engineering.maximum-capacity=100 35 yarn.scheduler.capacity.root.Engineering.queues=Development,QE 36 yarn.scheduler.capacity.root.Engineering.state=RUNNING 37 yarn.scheduler.capacity.root.Engineering.user-limit-factor=1 38 yarn.scheduler.capacity.root.Marketing.Advertising.acl_administer_jobs=* 39 yarn.scheduler.capacity.root.Marketing.Advertising.acl_administer_queue=* 40 yarn.scheduler.capacity.root.Marketing.Advertising.acl_submit_applications=* 41 yarn.scheduler.capacity.root.Marketing.Advertising.capacity=30 42 yarn.scheduler.capacity.root.Marketing.Advertising.maximum-capacity=40 43 yarn.scheduler.capacity.root.Marketing.Advertising.state=STOPPED 44 yarn.scheduler.capacity.root.Marketing.Advertising.user-limit-factor=1 45 yarn.scheduler.capacity.root.Marketing.Sales.acl_administer_jobs=* 46 yarn.scheduler.capacity.root.Marketing.Sales.acl_administer_queue=* 47 yarn.scheduler.capacity.root.Marketing.Sales.acl_submit_applications=* 48 yarn.scheduler.capacity.root.Marketing.Sales.capacity=70 49 yarn.scheduler.capacity.root.Marketing.Sales.maximum-capacity=80 50 yarn.scheduler.capacity.root.Marketing.Sales.minimum-user-limit-percent=20 51 yarn.scheduler.capacity.root.Marketing.Sales.state=RUNNING 52 yarn.scheduler.capacity.root.Marketing.Sales.user-limit-factor=1 53 yarn.scheduler.capacity.root.Marketing.acl_administer_jobs=* 54 yarn.scheduler.capacity.root.Marketing.acl_submit_applications=* 55 yarn.scheduler.capacity.root.Marketing.capacity=10 56 yarn.scheduler.capacity.root.Marketing.maximum-capacity=40 57 yarn.scheduler.capacity.root.Marketing.queues=Sales,Advertising 58 yarn.scheduler.capacity.root.Marketing.state=RUNNING 59 yarn.scheduler.capacity.root.Marketing.user-limit-factor=1 60 yarn.scheduler.capacity.root.Support.Services.acl_administer_jobs=* 61 yarn.scheduler.capacity.root.Support.Services.acl_administer_queue=* 62 yarn.scheduler.capacity.root.Support.Services.acl_submit_applications=* 63 yarn.scheduler.capacity.root.Support.Services.capacity=80 64 yarn.scheduler.capacity.root.Support.Services.maximum-capacity=100 65 yarn.scheduler.capacity.root.Support.Services.minimum-user-limit-percent=20 66 yarn.scheduler.capacity.root.Support.Services.state=RUNNING 67 yarn.scheduler.capacity.root.Support.Services.user-limit-factor=1 68 yarn.scheduler.capacity.root.Support.Training.acl_administer_jobs=* 69 yarn.scheduler.capacity.root.Support.Training.acl_administer_queue=* 70 yarn.scheduler.capacity.root.Support.Training.acl_submit_applications=* 71 yarn.scheduler.capacity.root.Support.Training.capacity=20 72 yarn.scheduler.capacity.root.Support.Training.maximum-capacity=60 73 yarn.scheduler.capacity.root.Support.Training.state=RUNNING 74 yarn.scheduler.capacity.root.Support.Training.user-limit-factor=1 75 yarn.scheduler.capacity.root.Support.acl_administer_jobs=* 76 yarn.scheduler.capacity.root.Support.acl_administer_queue=* 77 yarn.scheduler.capacity.root.Support.acl_submit_applications=* 78 yarn.scheduler.capacity.root.Support.capacity=30 79 yarn.scheduler.capacity.root.Support.maximum-capacity=100 80 yarn.scheduler.capacity.root.Support.queues=Training,Services 81 yarn.scheduler.capacity.root.Support.state=RUNNING 82 yarn.scheduler.capacity.root.Support.user-limit-factor=1 83 yarn.scheduler.capacity.root.unfunded.capacity=50
全靠手写了。
然后通过链接进入到resource manager页面,选择左侧链接,点击Scheduler,就可以看到这次添加的队列,support,marketing以及Engineering。
参考: