Re: multiple namenode directories

2011-02-10 Thread Harsh J
The links appeared outdated, I've updated those to reflect the current release 0.21's configurations. The configuration descriptions describe properly, the way to set them 'right'. For 0.20 releases, only the configuration name changes: dfs.name.dir instead of dfs.namenode.name.dir, and dfs.data.d

Re: multiple namenode directories

2011-02-10 Thread mike anderson
Whew, glad I asked. It might be useful for someone to update the wiki: http://wiki.apache.org/hadoop/FAQ#How_do_I_set_up_a_hadoop_node_to_use_multiple_volumes.3F -Mike On Thu, Feb 10, 2011 at 12:43 PM, Harsh J wrote: > DO NOT format your NameNode. Formatting a NameNode is equivalent to > forma

Re: multiple namenode directories

2011-02-10 Thread Harsh J
DO NOT format your NameNode. Formatting a NameNode is equivalent to formatting a FS -- you're bound lose it all. And while messing with NameNode, after bringing it down safely, ALWAYS take a backup of the existing dfs.name.dir contents and preferably the SNN checkpoint directory contents too (if y

multiple namenode directories

2011-02-10 Thread mike anderson
This should be a straightforward question, but better safe than sorry. I wanted to add a second name node directory (on an NFS as a backup), so now my hdfs-site.xml contains: dfs.name.dir /mnt/hadoop/name dfs.name.dir /public/hadoop/name When I go to start DFS i'm ge

Fwd: multiple namenode directories

2011-02-10 Thread mike anderson
-- Forwarded message -- From: mike anderson Date: Thu, Feb 10, 2011 at 11:57 AM Subject: multiple namenode directories To: core-u...@hadoop.apache.org This should be a straightforward question, but better safe than sorry. I wanted to add a second name node directory (on an NFS