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
上一篇:【转载】Spring学习(1)——快速入门--2019.05.19


下一篇:zookeeper安装教程