Re: Backing up namenode

2011-06-07 Thread sulabh choudhury
It should automatically start writing NN data to that dir. If its still empty, you should check the NN logs and permissions on the backup dir. On Mon, Jun 6, 2011 at 10:21 AM, Mark static.void@gmail.com wrote: Thank you. I added another directory the following configuration and restarted

Re: Backing up namenode

2011-06-06 Thread Mark
Thank you. I added another directory the following configuration and restarted my cluster: property namedfs.name.dir/name value/var/hadoop/dfs/name,/var/hadoop/dfs/name.backup/value /property However the name.backup directory is empty. Is there anything I need to do to tell it to backup?

Re: Backing up namenode

2011-06-05 Thread sulabh choudhury
Hey Mark, If you add more than one directory (comma separated) in the variable dfs.name.dir it would automatically be copied in all those location. On Sat, Jun 4, 2011 at 10:14 AM, Mark static.void@gmail.com wrote: How would I go backing up our namenode data? I set up the secondarynamenode

Backing up namenode

2011-06-04 Thread Mark
How would I go backing up our namenode data? I set up the secondarynamenode on a separate physical machine but just as a backup I would like to save the namenode data. Thanks