Tanping Wang
added a comment - 10/Mar/11 23:22 The new startup script has the following changed behavior:
Old behavior:
startup script had to be run on primary namenode. The script started namenode on the the node where it was run. Secondary namenode was started on the node in "master" file.
Datanodes were started on nodes that are in "slaves" file.
New behavior:
Script determines namenodes and secondary namenodes from the hdfs-site.xml configuration and starts appropriate nodes on these machines. The file "master" is no longer required.(Changed behavior)
Datanodes were started on nodes that are in "slaves" file. (No change)
Installation using their own scripts can start the nodes, based on the example in this script.
Decommission tool:
Two new scripts are added for performing decommissioning in federation setup.
Combined all the scripts change into one patch, HDFS-1703 .patch

Suresh Srinivas
added a comment - 10/Mar/11 23:58 Updated description:
The new startup script has the following changed behavior:
Old behavior:
startup script had to be run on primary namenode. The script started namenode on the the node where it was run. Secondary namenode was started on the node in "master" file.
Datanodes were started on nodes that are in "slaves" file.
New behavior:
Script determines namenodes and secondary namenodes from the hdfs-site.xml configuration and starts appropriate nodes on these machines. The file "master" is no longer required.(Changed behavior)
Datanodes were started on nodes that are in "slaves" file. (No change)
Installation using their own scripts can start the nodes, based on the example in this script.
Decommission tool:
Two new scripts are added for performing decommissioning in federation setup. This could be used for setup with single namenode also.
distribute-exclude.sh
This script copies the given exclude file based to all the namenodes (discovered from the configuration hdfs-site.xml) to the exclude file as definied in the hdfs-site.xml configuration.
refresh-namenodes.sh
This script runs refreshNodes command on all the namenodes (discovered from the configuration hdfs-site.xml).