Permission denied: user=root, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-xhd
方法1;
hadoop fs -chmod 777 /user/hadoop
方法2;
在hdfs的配置文件中,将dfs.permissions修改为False
参考;https://blog.csdn.net/hbzhaoyf/article/details/42373001?utm_medium=distribute.pc_relevant.none-task-blog-OPENSEARCH-4.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-OPENSEARCH-4.control