hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cliff palmer <palmercl...@gmail.com>
Subject Re: Hadoop startup problem - directory name required
Date Wed, 25 Aug 2010 18:16:42 GMT
No complaints from hadoop, other than the error for the mangled directory
name.

On Wed, Aug 25, 2010 at 2:04 PM, Hemanth Yamijala <yhemanth@gmail.com>wrote:

> 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 <palmercliff@gmail.com>
> wrote:
> > Thanks Allen - that has resolved the problem.  Good catch!
> > Cliff
> >
> > On Tue, Aug 24, 2010 at 3:05 PM, Allen Wittenauer
> > <awittenauer@linkedin.com>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.
> >>
> >>
> >>
> >>
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message