In a Hadoop cluster consisting of 3 datanodes, 1 namenode, and 1 secondary namenode, the command input shows the status as follows, everything appears normal.
After careful investigation, it was found that times have changed. The Hadoop 2.x HDFS WEB port was 50070, but in Hadoop 3.x it has changed to 9870. Therefore, accessing 9870 allows normal access to the Web UI.
3.2 Issue 2: No Service on 9000 Port
Again, it’s a default listening address configuration modification. Modify the value of fs.defaultFS in the configuration file.
1
2
3
4
5
6
7
8
9
10
11
<configuration><property><name>fs.defaultFS</name><value>hdfs://0.0.0.0:9000</value></property><property><name>hadoop.tmp.dir</name><value>file:/usr/hadoop/tmp</value><description>A base for other temporary directories.</description></property></configuration>