hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankur Sethi" <ase...@i411.com>
Subject RE: adding datanodes on the fly?
Date Tue, 17 Jul 2007 17:35:08 GMT
Thanks for the reply.  But how do you start a datanode?  

The documentation says to start DFS from the namenode which will startup all
the datanodes.


-----Original Message-----
From: Raghu Angadi [mailto:rangadi@yahoo-inc.com] 
Sent: Tuesday, July 17, 2007 1:33 PM
To: hadoop-user@lucene.apache.org
Subject: Re: adding datanodes on the fly?

Ankur Sethi wrote:
> How are datanodes added?  Do they get added and started only at start of
> filesystem?  Can they be added while hadoop fs is running by editing slaves
> file or does hadoop have to be restarted?

to add more data nodes, you can just bring up new datanodes with the 
right config anytime. Namenode can add them anytime.

'slaves' file is used only by the scripts like bin/start-dfs.sh, 
bin/stop-dfs.sh etc. So adding new datanodes to slaves helps you manage 
restarts etc easier.


View raw message