org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="hadoop":hadoop:supergroup:rwxr-xr-x
提示往HDFS写文件是不容许的
在conf/hdfs-site.xml中加入
<property> <name>dfs.permissions</name> <value>false</value> </property>