unable to start daemons


unable to start daemons using this commands

hadoop version: Hadoop 2.0.0-cdh4.4.0

what do i do to make this work.

Error i am getting 

please help

[cloudera@localhost ~]$ cd hadoop-2.2.0/sbin
bash: cd: hadoop-2.2.0/sbin: No such file or directory



--start the daemons (Please do not try these commands on Sandbox)

cd hadoop-2.2.0/sbin

./hadoop-daemon.sh start datanode

./hadoop-daemon.sh start namenode

./yarn-daemon.sh start nodemanager

./yarn-daemon.sh start resourcemanager

./mr-jobhistory-daemon.sh start historyserver


1 Answer(s)


Hi Rosemary,

Below are the correct commands: 
$ sudo service hadoop-hdfs-namenode start
$ sudo service hadoop-hdfs-datanode start
$ sudo service hadoop-mapreduce-historyserver start
$ sudo service hadoop-yarn-resourcemanager start
$ sudo service hadoop-yarn-nodemanager start

I would recommend you to restart the cluster using the Cloudera manager only.