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

Secure

1004

External

dfs.datanode.
address

 

 

DataNode

9866

External

dfs.datanode.
address

 

WebHDFS

NameNode

 

50070

External

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

 

DataNode

Secure

1006

External

dfs.datanode.http.
address

 

HttpFS

web

 

14000