The following table lists the default ports used by the various HDFS services.
Service |
Servers |
Default Ports Used |
Protocol |
Description |
Needs End-user Access? |
Configuration Parameters |
NameNode WebUI |
MasterNodes (NameNode and any backup NameNodes) |
50070 |
http |
WebUI to look at current status |
Yes (typically admins, Dev/Support teams) |
dfs.http.address |
NameNode metadata service |
MasterNodes (NameNode and any backup NameNodes) |
8020/9000 |
IPC |
File system metadata operations |
Yes (all clients who need to interact directly with the HDFS) |
Embedded in URI specified by |
DataNode |
All Slave Nodes |
50076 |
http |
DataNode WebUI to access the status, logs, etc. |
Yes (typically admins, Dev/Support teams) |
dfs.datanode. http.address |
DataNode |
All Slave Nodes |
50010 |
|
Data transfer |
|
dfs.datanode. address |
DataNode |
All Slave Nodes |
50020 |
IPC |
Metadata operations |
No |
dfs.datanode. address |
Secondasry NameNode |
Secondary NameNode and any backup Secondary NameNodes |
50090 |
http |
Checkpoint for NameNode metadata |
No |
dfs.secondary. http.address |