Linux 下 Hadoop java api 问题

1. org.apache.hadoop.security.AccessControlException: Permission denied: user=opsuser, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x

方案1

  <property>

  <name>dfs.permissions</name>

 <value>false</value> </property>



方案2:
http://spryinc.com/blog/hdfs-permissions-overcoming-permission-denied-accesscontrolexception

你可能感兴趣的:(Linux 下 Hadoop java api 问题)