hadoop permission error Permission denied: user=root, access=WRITE, inode=“/“:hdfs:super

What this means here is that the user of the current hadoop command does not have the authority to execute the command.
Encountered this kind of authority problem:
My solution is
1. First check the code for mistakes
Insert picture description here
2. Modify your user authority.
3. Enter the user first, enter su hdfs, and try the command again

Guess you like

Origin blog.csdn.net/weixin_46457946/article/details/113786646