The problem isn't /tmp/hadoop-root.  The problem is likely /tmp not being
world writable.




On 10/13/09 4:40 PM, "David Greer" <[email protected]> wrote:

> Following the suggestion:
> 
> [da...@tweety java]$ hadoop fs -ls /tmp
> Found 1 items
> drwxr-xr-x   - root supergroup          0 2009-10-06 15:15 /tmp/hadoop-root
> [da...@tweety 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
> <[email protected]>wrote:
> 
>> 
>> 
>> 
>> On 10/13/09 4:19 PM, "David Greer" <[email protected]> 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.
>> 
>> 
>> Check /tmp in hdfs.
>> 
>> 

Reply via email to