Namenode 端口:

2.x端口

3.x端口

name

desc

50470

9871

dfs.namenode.https-address

The namenode secure http server address and port.

50070

9870

dfs.namenode.http-address

The address and the base port where the dfs namenode web ui will listen on.

8020

9820

fs.defaultFS

指定HDFS运行时nameNode地址


Secondary NN 端口:

2.x端口

3.x端口

name

desc

50091

9869

dfs.namenode.secondary.https-address

The secondary namenode HTTPS server address and port

50090

9868

dfs.namenode.secondary.http-address

The secondary namenode HTTPS server address and port


Datanode 端口:

2.x端口

3.x端口

name

desc

50020

9867

dfs.datanode.ipc.address

The datanode ipc server address and port.

50010

9866

dfs.datanode.address

The datanode server address and port for data transfer.

50475

9865

dfs.datanode.https.address

The datanode secure http server address and port

50075

9864

dfs.datanode.http.address

The datanode http server address and por

Yarn 端口

2.x端口

3.x端口

name

desc

8088

yarn.resourcemanager.webapp.address

http服务端口

以上是常用到的一些配置中的端口变动