Example how to stop a single hadoop datanode
The normal command you are shown shutsdown the entire cluster. To shutdown a single datanode for maintenance run the following command.
/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 datanode
Comments