Try giving this property in hdfs-site.xml dfs.namenode.http-address=0.0.0.0:50070
Replace 0.0.0.0 with your other network interface. On 12/18/14, Tao Xiao <xiaotao.cs....@gmail.com> wrote: > 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. >