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:[EMAIL PROTECTED]
Sent: Tuesday, July 17, 2007 1:33 PM
To: [email protected]
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.