From the bin directory in step 10, execute the following command:
$ cd ../sbin
$ ./hadoop-daemon.sh start namenode
Upon successful execution of the preceding command, you should see the following on your terminal:
starting namenode, logging to /opt/yarn/hadoop-2.7.3/logs/hadoop-hdfs-namenode-limulus.out
To start the secondarynamenode and the datanode, you should use the following command:
$ ./hadoop-daemon.sh start secondarynamenode
You should receive the following message on your terminal if the preceding commands succeed:
Starting secondarynamenode, logging to /opt/yarn/hadoop-2.7.3/logs/hadoop-hdfs-secondarynamenode-limulus.out
Then use the following command to start the data node:
$ ./hadoop-daemon.sh start datanode
You should receive the following message on your terminal if the preceding commands succeed:
starting datanode, logging to /opt/yarn/hadoop-2.7.3/logs/hadoop-hdfs-datanode-limulus.out
Now make sure that, you check all the services related to those nodes are running use the following command:
$ jps
You should observe something like the following:
35180 SecondaryNameNode
45915 NameNode
656335 Jps
75814 DataNode