Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

http://localhost:9870 does not work HADOOP

Tags:

hadoop

I am beginner to learn hadoop,i use latest version ubuntu,I have an error when browsing localhost:9870 the browser says that the page does not exist

like image 530
Kevin Su Avatar asked Apr 08 '18 05:04

Kevin Su


People also ask

Why localhost is not working in Hadoop?

If you are running Hadoop version 2. X, then what you can do is just stop all the daemon services, format the name node and again restart the services. Hope, this will resolve your issue.

What is the port number for Namenode?

8020 and 9000 are IPC ports for namenode. The default port for namenode UI is 50070.


1 Answers

First, you need to check you Hadoop daemons are running by entering the command: jps. Here my namenode is also configured as datanode.

enter image description here

Second, check Namenode Java Process is running with 9870 port or not by entering the command.

netstat -an | grep 9870

Third, check dfs.namenode.http-address property in hdfs-site.xml

Finally, make sure you have disabled firewall

like image 145
nghiep truong Avatar answered Sep 24 '22 14:09

nghiep truong