Hadoop stop one node in a cluster
If you want to stop one node in a hadoop cluster run the following two commands.
/usr/local/hadoop/bin/hadoop-daemon.sh --config /usr/local/hadoop/bin/../conf stop datanode
/usr/local/hadoop/bin/hadoop-daemon.sh --config /usr/local/hadoop/bin/../conf stop tasktracker
/usr/local/hadoop/bin/hadoop-daemon.sh --config /usr/local/hadoop/bin/../conf stop datanode
/usr/local/hadoop/bin/hadoop-daemon.sh --config /usr/local/hadoop/bin/../conf stop tasktracker
Comments
http://pearlin.info/2012/04/30/best-way-to-blacklist-node-from-live-hadoop-cluster/