Reputation: 383
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?
Upvotes: 0
Views: 1451
Reputation: 41987
The reason behind HTTP ERROR 404 Problem accessing /dfshealth.jsp. Reason: NOT_FOUND
error is because Namenode
web UI
is trying to access dfshealth.jsp
page which has been removed in the latest hadoop
releases.
When you enter NamenodeIP
and port 50070
and hit enter, dfshealth.jsp
must have been appended. May be you had older version of hadoop
and your broswer
had cached
the address.
The solution to this would be either you clear the browser cache
or append /dfshealth.html#tab-overview
as
192.168.10.104:50070/dfshealth.html#tab-overview
Hope to see your problem solved with this answer.
Upvotes: 3