Hi,
I have installed Hadoop 1.0 using .deb package.
I tried to configure superuser groups but it somehow fail. I do not know
what's wrong:

I expect root to be able to run hadoop dfsadmin -report command.

# id hdfs
uid=201(hdfs) gid=201(hdfs) groupes=123(hadoop),201(hdfs)
# id root
uid=0(root) gid=0(root) groupes=123(hadoop),0(root)

Both my hdfs user (superuser by default) and my root user are in group
hadoop.

In hdfs-site.xml I have:
  <property>
    <name>dfs.permissions.superusergroup</name>
    <value>hadoop</value>
    <description>The name of the group of super-users.</description>
  </property>

I tried running refreshServiceAcl and
refreshSuperUserGroupsConfiguration as hdfs, but I still have the error:
root# hadoop dfsadmin -report
report: org.apache.hadoop.security.AccessControlException: Access denied
for user root. Superuser privilege is required

Has anyone an idea?

Thanks!

Olivier

-- 

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


Reply via email to