thanks! this works. but we need to play a ugly trick. Is there any way to run the BackupNode with different config directory?
The current way to start backup node is: bin/hdfs namenode -backup But this doesn't provide a way to specify the config directory. On Mon, May 9, 2011 at 8:33 PM, Ozcan ILIKHAN <ilik...@cs.wisc.edu> wrote: > Since they are using different ports, I donot think there will be a > problem. Only problem can arise because of namespace directory. I did not > tested but should work in following steps: > 1- Start NameNode. > 2- change dfs.name.dir in hdfs-site.xml > 3- start BackupNode > > > *From:* Thanh Do <than...@cs.wisc.edu> > *Sent:* Monday, May 09, 2011 8:06 PM > *To:* hdfs-user@hadoop.apache.org > *Subject:* running backup node in the same host as namenode > > hi all, > > I am using hdfs 0.21.0, and want to run > Backup Node in the same host as the NameNode > for experiment purpose. > > Can anyone shed some light on how to do that? > > Many thanks, > Thanh >