
168
|
第六章:身份識別、身份驗證與授權
範例
6-9
mapred-queue-acls.xml
設定檔範例
<?xml version="1.0"?>
<configuration>
<!--
Allow user jane and group prod to submit jobs to the
production-etl queue.
-->
<property>
<name>mapred.queue.production-etl.acl-submit-job</name>
<value>jane prod</value>
</property>
<!--
Allow no users, and groups prod and hadoop-admins, to
administer jobs in the production-etl queue. Note the
space after the opening value element. This means the
user list is empty.
The cluster owner, cluster admins, and job owner can
always administer their jobs.
-->
<property>
<name>mapred.queue.production-etl.acl-administer-jobs</name> ...