hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Harrington <...@yahoo-inc.com>
Subject Re: adding datanodes on the fly?
Date Tue, 17 Jul 2007 17:48:00 GMT
On the datanode you can run:

bin/hadoop-daemon.sh --config <config_path> start datanode

Brian

Ankur Sethi wrote:
> 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.
> 
> Thanks,
> Ankur
> 
> -----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
> DFS
>> 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.
> 
> Raghu.


Mime
View raw message