hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tao Xiao <xiaotao.cs....@gmail.com>
Subject How to let namenode http web UI port listen on another interface?
Date Thu, 18 Dec 2014 14:24:03 GMT
I installed HDFS (CDH 5.2.1) on a host with two interfaces - eth0
(10.252.25.68) and eth1 (120.27.43.80). Namenode http web ui port
is configured as 50070.

Command "netstat -apn | grep 50070" returns the following results´╝Ü
    tcp        0      0 10.252.25.68:50070          0.0.0.0:*
LISTEN      27159/java
    tcp        0      0 10.252.25.68:50070          10.252.25.68:44871
TIME_WAIT   -


So port 50070 seems to be listening on eth0 and I can not access namenode
http web console by eth1.

I'd like to know how to let port 50070 listen on eth1. I suppose that can
be down by modifying Jetty's configuration - Jetty is namenode's web
server, but I'm not sure how to do that.

Thanks in advance.

Mime
View raw message