i

Hadoop Tutorial

Start The Hadoop instances

Step 23:  Format the namenode. Set up the namenode just using the command "hdfs namenode -format” as follows.

The expected return will be:

Step 24: Start dfs and yarn demon: Our Hadoop single node cluster is ready to use. Test your cluster by running the following commands

To check that all the Hadoop services are up and running, run the jps command.

Step 25: Accessing the Hadoop cluster on the Browser.

The default port number of Hadoop is 9870. Use the mentioned URL to get Hadoop services on the Browser.

 

http://localhost:9870

 

The default port number to access applications of the cluster is 8088. Use the following URL to visit this service.

http://localhost:8088/

Step 25: Stop all the demons: Use the stop-all.sh, command to stop all the demons.