I tried accessing the web url of namenode with the namenode IP. It throwed an error HTTP ERROR 404 Problem accessing /dfshealth.jsp. Reason: NOT_FOUND
I am able to access the Namenode web url with the hostname.
/etc/hosts file:
127.0.0.1 localhost
192.168.10.103 impc2390
192.168.10.102 impc2359
192.168.10.101 impc2391
192.168.10.111 impc2394
192.168.10.104 impc2361
I tried 192.168.10.104:50070
It throwed an error that page not found
I tried with impc2361:50070
It worked fine
Why am I not able to access the page with Ip of the computer?
The reason behind
HTTP ERROR 404 Problem accessing /dfshealth.jsp. Reason: NOT_FOUNDerror is becauseNamenodeweb UIis trying to accessdfshealth.jsppage which has been removed in the latesthadoopreleases.When you enter
NamenodeIPand port50070and hit enter,dfshealth.jspmust have been appended. May be you had older version ofhadoopand yourbroswerhadcachedthe address.The solution to this would be either you clear the
browser cacheor append/dfshealth.html#tab-overviewasHope to see your problem solved with this answer.