You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Jane Wayne <ja...@gmail.com> on 2014/03/07 07:29:07 UTC

hdfs permission is still being checked after being disabled

i am using hadoop v2.3.0.

in my hdfs-site.xml, i have the following property set.

 <property>
  <name>dfs.permissions.enabled</name>
  <value>false</value>
 </property>

however, when i try to run a hadoop job, i see the following
AccessControlException.

org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException):
Permission denied: user=hadoopuser, access=EXECUTE,
inode="/tmp":root:supergroup:drwxrwx---

to me, it seems that i have already disabled permission checking, so i
shouldn't get that AccessControlException.

any ideas?

Re: hdfs permission is still being checked after being disabled

Posted by Harsh J <ha...@cloudera.com>.
Did you restart your NameNode after making the configuration that
turns permissions off?

On Thu, Mar 6, 2014 at 10:29 PM, Jane Wayne <ja...@gmail.com> wrote:
> i am using hadoop v2.3.0.
>
> in my hdfs-site.xml, i have the following property set.
>
>  <property>
>   <name>dfs.permissions.enabled</name>
>   <value>false</value>
>  </property>
>
> however, when i try to run a hadoop job, i see the following
> AccessControlException.
>
> org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException):
> Permission denied: user=hadoopuser, access=EXECUTE,
> inode="/tmp":root:supergroup:drwxrwx---
>
> to me, it seems that i have already disabled permission checking, so i
> shouldn't get that AccessControlException.
>
> any ideas?



-- 
Harsh J