Ports Used by DistCp

DistCp uses various ports for HDFS and HttpFS services.

All ports listed are TCP.

In the following table, the Access Requirement column for each port is usually either "Internal" or "External." In this context, "Internal" means that the port is used only for communication among the components; "External" means that the port can be used for either internal or external communication.

Component Service Qualifier Port Access Requirement Configuration Comment

Hadoop HDFS

NameNode

 

8020

External

fs.default.name
or
fs.defaultFS
fs.default.name
is deprecated (but still works).

 

DataNode

9866

External

dfs.datanode.address

 DataNode server address and port for data transfer.

WebHDFS

NameNode

 

9870

External

dfs.http.address
or
dfs.namenode.http-address
dfs.http.address
is deprecated (but still works).

 

DataNode

Secure

9864

External

dfs.datanode.http.address
DataNode HTTP server port.

HttpFS

web

 

14000