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