本地连接 HDFS 报错 Exception in thread "main" org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException: Permission denied: user=JM.H,access=WRITE, inode="":r
此时 到hdfs机器下修改hdfs-site.xml即可
添加如下配置
<property>
<name>dfs.permissions</name>
<value>false</value>
</property>
你所拥抱的并不总是拥抱你