Database Reference
In-Depth Information
Stopping Hadoop services
Execute the following command from the user
hduser
to stop the namenode daemon on
node1.hcluster
and the datanode daemon on
node2.hcluster
,
node3.hcluster
, and
node4.hcluster
:
$ for x in 'cd /etc/init.d ; ls hadoop-hdfs-*' ; do sudo
service $x stop ; done
Execute the following command from the user
hduser
to stop the jobtracker daemon on
node1.hcluster
:
$ sudo service hadoop-0.20-mapreduce-jobtracker stop
Execute the following command from the user
hduser
to stop the tasktracker daemon on
node2.hcluster
,
node3.hcluster
, and
node4.hcluster
:
$ sudo service hadoop-0.20-mapreduce-tasktracker stop