启动日志中存在如下两个疑点,两段的最后一句其中的IP地址都是0.0.0.0:port,请教大师是怎么回事?按照您说的,我已经修改了我win7客户端的hosts列表,虽然启动依然正常,但还是不能正常访问web监控。
1、hadoop-root-namenode-master.log
2014-01-14 09:39:17,031 INFO org.apache.hadoop.http.HttpServer: Port returned by webServer.getConnectors()[0].getLocalPort() before open() is -1. Opening the listener on 50070
2014-01-14 09:39:17,032 INFO org.apache.hadoop.http.HttpServer: listener.getLocalPort() returned 50070 webServer.getConnectors()[0].getLocalPort() returned 50070
2014-01-14 09:39:17,032 INFO org.apache.hadoop.http.HttpServer: Jetty bound to port 50070
2014-01-14 09:39:17,032 INFO org.mortbay.log: jetty-6.1.26
2014-01-14 09:39:17,345 INFO org.mortbay.log: Started SelectChannelConnector@0.0.0.0:50070
2014-01-14 09:39:17,346 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: Web-server up at: 0.0.0.0:50070
2、hadoop-root-jobtracker-master.log
2014-01-14 09:39:24,101 INFO org.apache.hadoop.http.HttpServer: Added global filtersafety (class=org.apache.hadoop.http.HttpServer$QuotingInputFilter)
2014-01-14 09:39:24,132 INFO org.apache.hadoop.http.HttpServer: Port returned by webServer.getConnectors()[0].getLocalPort() before open() is -1. Opening the listener on 50030
2014-01-14 09:39:24,133 INFO org.apache.hadoop.http.HttpServer: listener.getLocalPort() returned 50030 webServer.getConnectors()[0].getLocalPort() returned 50030
2014-01-14 09:39:24,133 INFO org.apache.hadoop.http.HttpServer: Jetty bound to port 50030
2014-01-14 09:39:24,133 INFO org.mortbay.log: jetty-6.1.26
2014-01-14 09:39:24,407 INFO org.mortbay.log: Started SelectChannelConnector@0.0.0.0:50030