A Hadoop cluster composed of 3 datanodes, 1 namenode, and 1 secondary namenode. Entering the following command to check the status, everything appears normal.
After a thorough investigation, it was discovered that the times have changed. While Hadoop 2.x HDFS WEB port was 50070, in Hadoop 3.x it has changed to 9870. Therefore, accessing 9870 will allow normal access to the Web UI interface.
3.2 Issue 2: No service on port 9000
This was due to the default listening address configuration being modified. Updating the fs.defaultFS value in the configuration file solves the problem.
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>