Merge -c 1184989 from trunk to branch-0.23 to complete fix for MAPREDUCE-3101.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1184990 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arun Murthy 2011-10-17 04:09:35 +00:00
parent 6a1deabbb7
commit 1ae4238dc2
4 changed files with 18 additions and 3 deletions

View File

@ -1595,6 +1595,10 @@ Release 0.23.0 - Unreleased
MAPREDUCE-3189. Add link decoration back to MR2's CSS. (Todd Lipcon via MAPREDUCE-3189. Add link decoration back to MR2's CSS. (Todd Lipcon via
mahadev) mahadev)
MAPREDUCE-3101. Changed default value of yarn.resourcemanager.acl.enable
to true and added some more documentation. (acmurthy)
Release 0.22.0 - Unreleased Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -129,7 +129,7 @@ public class YarnConfiguration extends Configuration {
/** Are RM acls enabled.*/ /** Are RM acls enabled.*/
public static final String RM_ACL_ENABLE = public static final String RM_ACL_ENABLE =
RM_PREFIX + "acl.enable"; RM_PREFIX + "acl.enable";
public static final boolean DEFAULT_RM_ACL_ENABLE = false; public static final boolean DEFAULT_RM_ACL_ENABLE = true;
/** ACL of who can be admin of RM.*/ /** ACL of who can be admin of RM.*/
public static final String RM_ADMIN_ACL = public static final String RM_ADMIN_ACL =

View File

@ -85,7 +85,7 @@
<property> <property>
<description>Are RM acls enabled.</description> <description>Are RM acls enabled.</description>
<name>yarn.resourcemanager.acl.enable</name> <name>yarn.resourcemanager.acl.enable</name>
<value>false</value> <value>true</value>
</property> </property>
<property> <property>

View File

@ -194,17 +194,28 @@ Hadoop MapReduce Next Generation - Cluster Setup
| | <<<ResourceManager>>> host:port for NodeManagers. | | | | <<<ResourceManager>>> host:port for NodeManagers. | |
| | | <host:port> | | | | <host:port> |
*-------------------------+-------------------------+------------------------+ *-------------------------+-------------------------+------------------------+
| <<<yarn.resourcemanager.admin.address>>> | | |
| | <<<ResourceManager>>> host:port for administrative commands. | |
| | | <host:port> |
*-------------------------+-------------------------+------------------------+
| <<<yarn.resourcemanager.webapp.address>>> | | |
| | <<<ResourceManager>>> web-ui host:port. | |
| | | <host:port> |
*-------------------------+-------------------------+------------------------+
| <<<yarn.resourcemanager.scheduler.class>>> | | | | <<<yarn.resourcemanager.scheduler.class>>> | | |
| | <<<ResourceManager>>> Scheduler class. | | | | <<<ResourceManager>>> Scheduler class. | |
| | | <<<CapacityScheduler>>> (recommended) or <<<FifoScheduler>>> | | | | <<<CapacityScheduler>>> (recommended) or <<<FifoScheduler>>> |
*-------------------------+-------------------------+------------------------+ *-------------------------+-------------------------+------------------------+
| <<<yarn.resourcemanager.acl.enable>>> | | | | <<<yarn.resourcemanager.acl.enable>>> | | |
| | <<<true>>> / <<<false>>> | | | | <<<true>>> / <<<false>>> | |
| | | Enable ACLs? | | | | Enable ACLs? Defaults to <true>. |
*-------------------------+-------------------------+------------------------+ *-------------------------+-------------------------+------------------------+
| <<<yarn.resourcemanager.admin.acl>>> | | | | <<<yarn.resourcemanager.admin.acl>>> | | |
| | Admin ACL | | | | Admin ACL | |
| | | ACL to set admins on the cluster. | | | | ACL to set admins on the cluster. |
| | | ACLs are of for <comma-separated-users><space><comma-separated-groups>. |
| | | Defaults to special value of <<*>> which means <anyone>. |
| | | Special value of just <space> means no one has access. |
*-------------------------+-------------------------+------------------------+ *-------------------------+-------------------------+------------------------+
| <<<yarn.nodemanager.remote-app-log-dir>>> | | | | <<<yarn.nodemanager.remote-app-log-dir>>> | | |
| | </logs> | | | | </logs> | |