I believe (as far as I remember) you should be able to add the node by bringing up the datanode or tasktracker on the remote machine. The Namenode or the jobtracker (I think) does not check for the nodes in the slaves file. The slaves file is just to start up all the daemon's by ssshing to all the nodes in the slaves file during startup. So you should just be able to startup the datanode pointing to correct namenode and it should work.
Regards Mahadev > -----Original Message----- > From: tjohn [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 09, 2008 1:18 PM > To: [email protected] > Subject: Re: dynamically adding slaves to hadoop cluster > > > > > Owen O'Malley-2 wrote: > > > > > > On Mar 9, 2008, at 9:54 AM, tjohn wrote: > > > >> > >> Hi all, i m new to hadoop and i wanted to know how to dynamically > >> add a slave > >> to my cluster, obviously while it' s running. > > > > If you start a new data node (and/or task tracker), they will join > > the cluster of the configured name node / job tracker. After adding > > datanodes, you should rebalance your hdfs data. > > > > -- Owen > > > > > > Yeah thanks Owen that' s useful but what i wanted to know is how to add a > new remote machine although it s not listed in the conf/slaves file and i > just don' t understand how to do it without stopping the cluster or the > process running on it. (sorry for my english, it' s not my native language > so probably it sounds like i m a bit rude.. ) > > John > -- > View this message in context: http://www.nabble.com/dynamically-adding- > slaves-to-hadoop-cluster-tp15943388p15945833.html > Sent from the Hadoop core-user mailing list archive at Nabble.com.
