我正在学习hadoop,我自己也在学习u=installed hadoop
所以我在配置时在core-site.xml文件中设置了127.0.0.1:54310/。
但是当我打开这个127.0.0.1:54310/.它显示了下面的引用
"It looks like you are making an HTTP request to a Hadoop IPC port. This is not the correct port for the web interface on this daemon."
在这里,端口运行
tcp 0 0 0.0.0.0:50070 0.0.0.0:* LISTEN 1001 120452 22666/java
tcp 0 0 0.0.0.0:50010 0.0.0.0:* LISTEN 1001 119197 22787/java
tcp 0 0 0.0.0.0:50075 0.0.0.0:* LISTEN 1001 119235 22787/java
tcp 0 0 0.0.0.0:50020 0.0.0.0:* LISTEN 1001 120744 22787/java
tcp 0 0 127.0.0.1:54310 0.0.0.0:* LISTEN 1001 117942 22666/java
tcp 0 0 0.0.0.0:50090 0.0.0.0:* LISTEN 1001 125548 22953/java
tcp6 0 0 :::54935 :::* LISTEN 1001 122123 23275/java
tcp6 0 0 :::8088 :::* LISTEN 1001 118396 23130/java
tcp6 0 0 :::8030 :::* LISTEN 1001 126362 23130/java
tcp6 0 0 :::8031 :::* LISTEN 1001 126344 23130/java
tcp6 0 0 :::8032 :::* LISTEN 1001 118392 23130/java
tcp6 0 0 :::8033 :::* LISTEN 1001 125653 23130/java
tcp6 0 0 :::8040 :::* LISTEN 1001 126351 23275/java
tcp6 0 0 :::8042 :::* LISTEN 1001 122149 23275/java
但当我打开127.0.0.1:50070时,它显示了hadoop页面,其中包含概述、Datanode等选项卡。
谁能解释一下这些端口是什么不同的端口,hadoop是如何在50070端口上运行的,正如我在54310上设置的那样,为什么会这样?
发布于 2017-10-22 04:08:15
那么,默认的dfs.namenode.http-address
是50070。这是在hdfs-site.xml中
https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml
显然,您没有设置该属性和其他设置。听起来像是您设置了datanode IPC地址,即50020。
除非您知道端口上存在冲突,否则不需要更改任何内容
https://stackoverflow.com/questions/46631357
复制相似问题