You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Olivier Sallou (Created) (JIRA)" <ji...@apache.org> on 2012/03/20 09:51:38 UTC

[jira] [Created] (HDFS-3118) wiki and hadoop templates provides wrong superusergroup property instead of supergroup

wiki and hadoop templates provides wrong superusergroup property instead of supergroup
--------------------------------------------------------------------------------------

                 Key: HDFS-3118
                 URL: https://issues.apache.org/jira/browse/HDFS-3118
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 1.0.0
         Environment: Used Debian package install
            Reporter: Olivier Sallou
            Priority: Minor


The hdfs-site template and the wiki: http://hadoop.apache.org/hdfs/docs/current/hdfs_permissions_guide.html#The+Super-User
refers to property dfs.permissions.superusergroup to define the group of superuser.

However we must use the property dfs.permissions.supergroup, and not superusergroup, to make it work.

In file src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java, supergroup is extracted from:
this.supergroup = conf.get("dfs.permissions.supergroup", "supergroup");

It does not make use of DFS_PERMISSIONS_SUPERUSERGROUP_KEY

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira