Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


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.
>>
>>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB