hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul <paulg...@gmail.com>
Subject Re: Need reboot the whole system if adding new datanodes?
Date Wed, 15 Oct 2008 06:24:29 GMT
As long as the new node is in the slaves file on the master, just do a  
start-all.sh and it will attempt to start everything.  Nodes that are  
already running will keep running and new nodes will be started.

Consider doing a rebalance after adding a new node for better  
distribution.



-paul

On Oct 15, 2008, at 1:55 AM, "Amit k. Saha" <amitsaha.in@gmail.com>  
wrote:

> On Wed, Oct 15, 2008 at 9:09 AM, David Wei <weiwei1@kingsoft.com>  
> wrote:
>> It seems that we need to restart the whole hadoop system in order  
>> to add new
>> nodes inside the cluster. Any solution for us that no need for the
>> rebooting?
>
> From what I know so far, you have to start the HDFS dameon (which
> reads the 'slaves' file) to 'let it know' which are the data nodes. So
> everytime you add a new DataNode, I believe you will have to restarted
> the daemon, which is like re-initiating the NameNode.
>
> Hope I am not very wrong :-)
>
> Best,
> Amit
>
> -- 
> Amit Kumar Saha
> http://blogs.sun.com/amitsaha/
> http://amitsaha.in.googlepages.com/
> Skype: amitkumarsaha

Mime
View raw message