hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gangavarapu, Venkata" <Venkata.Gangavar...@bcbsa.com>
Subject dfs.permissions.superusergroup not working
Date Fri, 24 Jul 2015 20:00:15 GMT
Hi,

I have add two groups under dfs.permissions.superusergroup property as below
<property>
      <name>dfs.cluster.administrators</name>
      <value> hdfs,hdpdadmngrp</value>
    </property>

Restarted the HDFS after the change.

But I am not able to run the below command
hdfs dfsadmin -refreshNodes


Error says I don't have privilege to run the above command

My cluster is kerberized. I have principal for my user id.

Hdfs user:
uid=504(hdfs) gid=501(hadoop) groups=501(hadoop),503(hdfs),506(hdpdadmngrp)

New admin user:
uid=1007(gv07680) gid=506(hdpdadmngrp) groups=506(hdpdadmngrp)

I am using hadoop-2.6.0

Please help me with this.

Thanks,
Venkat

Mime
View raw message