[[email protected] java]$ hadoop fs -ls /tmp
Found 1 items
drwxr-xr-x - root supergroup 0 2009-10-06 15:15 /tmp/hadoop-root
[[email protected] java]$ hadoop fs -touchz /tmp/foobar.txt
touchz: org.apache.hadoop.security.AccessControlException: Permission
denied: user=david, access=WRITE, inode="tmp":root:supergroup:rwxr-xr-x
We seem to be on the right track. Before I change permissions on
/tmp/hadoop-root any idea why it didn't get built with the right permissions
in the first place? I've let hadoop build all of its directories for HDFS. I
assume that adding write access for groups should solve the problem.
Thanks,
David
On Tue, Oct 13, 2009 at 4:25 PM, Allen Wittenauer
wrote:
On 10/13/09 4:19 PM, "David Greer" wrote:
user=david, access=WRITE, inode="tmp":root:supergroup:rwxr-xr-x
The error message includes "root". I wonder if this is a clue? I'm out of
ideas.
user=david, access=WRITE, inode="tmp":root:supergroup:rwxr-xr-x
The error message includes "root". I wonder if this is a clue? I'm out of
ideas.
Check /tmp in hdfs.