Article content Source: http://blog.163.com/yangshaohui_2004/blog/static/618545020144711438505/
In the Yarn-site.xml property:
- Yarn.scheduler.fair.allow-undeclared-pools
- If this is true, the new queue can be created when the request is submitted, either because they are specified by the submitter as the application's queue, or because they are placed there by the user's default queue attribute. If this is false, any time the application will be placed in a queue that is not specified in the allocation file, it is placed in the "default" queue instead. The default is true. This property is ignored if the configuration file is given in the queue placement policy.
Note that in order to be compatible with the original Fairscheduler, the "queue" element can be substituted for the element named "Pool".access Control lists (ACLs) for queuesThe queue's access Control List (ACL) allows administrators to control who can take action, especially queues. They are configured with the Aclsubmitapps and Acladministerapps features, which can be set for each queue. Currently only supports applications where administrative actions are killed. Anyone who can manage a queue can also submit a request. These properties require a format value like "User 1, User 2 Group 1, group 2" or "Group 1, Group 2". If its user or group is in the queue's access control list or any ancestor ACL for that queue, the action in a queue will be allowed. Therefore, if queue 2 is an internal queue of 1, and the ACL for queue 1 is user1, and User2 is an ACL in queue 2, then these two users can queue to 2.
The ACL for the root queue is "*", where, because the ACL is passed down by default, that is, everyone can come forward and kill the application from each queue. To start restricting access, modify the root queue's ACL to come up with something more than "*" and so on.
hadoop-2.2.0 Multiple Queue resource assignments