HDFS Service Ports
The following table lists the default ports used by the various HDFS services. (Note: Neither of these services are used in a standard HDP installation.)
Service | Servers | Default Ports Used | Protocol | Description | Need End User Access? | Configuration Parameters |
NameNode WebUI |
Master Nodes (NameNode and any back-up NameNodes) | 50070 | http | Web UI to look at current status of HDFS, explore file system | Yes (Typically admins, Dev/Support teams, as well as extra-cluster users who require webhdfs/hftp access, for example, to use distcp) | dfs.http.address |
50470 | https | Secure http service | dfs.https.address |
|||
NameNode metadata service |
8020/ 9000 | IPC |
File system metadata operations |
Yes (All clients who directly need to interact with the HDFS) | Embedded in URI specified by fs.defaultFS
|
|
DataNode |
All Slave Nodes |
50075 |
http |
DataNode WebUI to access the status, logs, etc, and file data operations when using webhdfs or hftp |
Yes (Typically admins, Dev/Support teams, as well as extra-cluster users who require webhdfs/hftp access, for example, to use distcp) | dfs.datanode.http.address
|
50475 |
https |
Secure http service |
dfs.datanode.https.address
|
|||
1019 |
Custom HDFS protocol |
Data transfer |
dfs.datanode.address
|
|||
50010 |
Custom HDFS protocol |
Data transfer |
dfs.datanode.address
|
|||
50020 |
IPC |
Metadata operations |
No | dfs.datanode.ipc.address
|
||
Secondary NameNode | Secondary NameNode and any backup Secondanry NameNode |
50090 |
http |
Checkpoint for NameNode metadata |
No | dfs.secondary.http.address
|