I get the following permission error and donβt know why hasoop is trying to write this folder:
hadoop jar /usr/lib/hadoop/hadoop-*-examples.jar pi 2 100000 Number of Maps = 2 Samples per Map = 100000 Wrote input for Map #0 Wrote input for Map #1 Starting Job org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException: Permission denied: user=myuser, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x
Any idea why she is trying to write to the root of my hdfs?
Update:. After temporarily setting the hdfs root (/) permissions to 777, I saw that the "/ tmp" folder was being written. I suggest that one option is to simply create the / tmp folder with open permissions for everyone to write, but it would be nice from a security point of view if it is written to a user folder instead (for example, / user / myuser / tmp)
hadoop permissions
Dolan antenucci
source share