Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> Security error running hadoop with MaxTemperature example


+
David Greer 2009-10-12, 16:52
+
Jason Venner 2009-10-13, 05:09
+
David Greer 2009-10-13, 23:19
+
Allen Wittenauer 2009-10-13, 23:25
+
David Greer 2009-10-13, 23:40
Copy link to this message
-
Re: Security error running hadoop with MaxTemperature example


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:
>
> [david@tweety java]$ hadoop fs -ls /tmp
> Found 1 items
> drwxr-xr-x   - root supergroup          0 2009-10-06 15:15 /tmp/hadoop-root
> [david@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.
>>
>>
+
David Greer 2009-10-13, 23:59
+
Allen Wittenauer 2009-10-14, 00:00
+
David Greer 2009-10-14, 05:23
+
Allen Wittenauer 2009-10-14, 15:22
+
David Greer 2009-10-14, 17:04