HDFS-9415. Document dfs.cluster.administrators and dfs.permissions.superusergroup. (Contributed by Xiaobing Zhou)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f758dacb Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f758dacb Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f758dacb Branch: refs/heads/branch-2.6 Commit: f758dacb706127a73022cdcc68b6c5e3a230a49c Parents: f5c50cd Author: Arpit Agarwal <a...@apache.org> Authored: Thu Jan 14 14:17:52 2016 -0800 Committer: Arpit Agarwal <a...@apache.org> Committed: Thu Jan 14 14:19:04 2016 -0800 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../src/main/resources/hdfs-default.xml | 19 +++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/f758dacb/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 9009566..f1a18e2 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -22,6 +22,9 @@ Release 2.6.4 - UNRELEASED HDFS-9574. Reduce client failures during datanode restart (kihwal) + HDFS-9415. Document dfs.cluster.administrators and + dfs.permissions.superusergroup. (Xiaobing Zhou via Arpit Agarwal) + OPTIMIZATIONS BUG FIXES http://git-wip-us.apache.org/repos/asf/hadoop/blob/f758dacb/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml index 925ead8..3463725 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml @@ -375,17 +375,24 @@ <property> <name>dfs.permissions.superusergroup</name> <value>supergroup</value> - <description>The name of the group of super-users.</description> + <description>The name of the group of super-users. + The value should be a single group name. + </description> </property> -<!-- + <property> <name>dfs.cluster.administrators</name> - <value>ACL for the admins</value> - <description>This configuration is used to control who can access the - default servlets in the namenode, etc. + <value></value> + <description>ACL for the admins, this configuration is used to control + who can access the default servlets in the namenode, etc. The value + should be a comma separated list of users and groups. The user list + comes first and is separated by a space followed by the group list, + e.g. "user1,user2 group1,group2". Both users and groups are optional, + so "user1", " group1", "", "user1 group1", "user1,user2 group1,group2" + are all valid (note the leading space in " group1"). '*' grants access + to all users and groups, e.g. '*', '* ' and ' *' are all valid. </description> </property> ---> <property> <name>dfs.namenode.acls.enabled</name>