Yarn 生产环境多队列配置

capacity-scheduler.xml 中配置如下:



    yarn.scheduler.capacity.root.queues
    default,hive
    
      The queues at the this level (root is the root queue).
    

 


    yarn.scheduler.capacity.root.default.capacity
    40

 


    yarn.scheduler.capacity.root.default.maximum-capacity
    60


为新加队列添加必要属性:



    yarn.scheduler.capacity.root.hive.capacity
    60

 


    yarn.scheduler.capacity.root.hive.user-limit-factor
    1

 


    yarn.scheduler.capacity.root.hive.maximum-capacity
    80

 


    yarn.scheduler.capacity.root.hive.state
    RUNNING

 


    yarn.scheduler.capacity.root.hive.acl_submit_applications
    *

 


    yarn.scheduler.capacity.root.hive.acl_administer_queue
    *

 


    yarn.scheduler.capacity.root.hive.acl_application_max_priority
    *

 

 


    yarn.scheduler.capacity.root.hive.maximum-application-lifetime
    -1

 


    yarn.scheduler.capacity.root.hive.default-application-lifetime
    -1


请使用浏览器的分享功能分享到微信等