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

Switch to Threaded View
Hadoop >> mail # user >> Hadoop startup problem - directory name required


Copy link to this message
-
Re: Hadoop startup problem - directory name required
Hmm. Without the / in the property tag, isn't the file malformed XML ?
I am pretty sure Hadoop complains in such cases  ?

On Wed, Aug 25, 2010 at 4:44 AM, cliff palmer <[EMAIL PROTECTED]> wrote:
> Thanks Allen - that has resolved the problem.  Good catch!
> Cliff
>
> On Tue, Aug 24, 2010 at 3:05 PM, Allen Wittenauer
> <[EMAIL PROTECTED]>wrote:
>
>>
>> On Aug 23, 2010, at 6:49 AM, cliff palmer wrote:
>>
>> > Thanks Harsh, but I am still not sure I understand what is going on.
>> > The directory specified in the dfs.name.dir property,
>> > "/var/lib/hadoop-0.20/dfsname", does exist and rights to that directory
>> have
>> > been granted to the OS user that is running the Hadoop startup script.
>> > The directory mentioned in the error message is
>> > "/var/lib/hadoop-0.20/cache/hadoop/dfs/name".
>> > I can create this directory and that would (I assume) remove the error,
>> but
>> > I want to understand how the name is derived.
>>
>> From here:
>>
>> >       <property>
>> >               <name>hadoop.tmp.dir</name>
>> >               <value>/var/lib/hadoop-0.20/cache/hadoop</value>
>> >       </property>
>> > </configuration>
>>
>> because:
>>
>> >
>> >        <property>
>> >                <name>dfs.name.dir</name>
>> >                <value>/DFS/dfsname,/var/lib/hadoop-0.20/dfsname</value>
>> >        <property>
>>
>> is missing a / in the property line.
>>
>>
>>
>>
>>
>