HDFS service ports
Note the default ports used by various HDFS services.
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 |
|||
50010 SASL based IPC (non-privilege port) |
IPC |
Secure data transfer |
dfs.datanode.address |
|||
1019 Privilege IPC port |
IPC |
Secure data transfer |
dfs.datanode.address |
|||
50020 |
IPC |
Metadata operations |
No |
dfs.datanode.ipc.address |
||
1022 | https | Customer HTTP port for Secure DataNode deployment | Yes | dfs.datanode.http.address | ||
Secondary NameNode | Secondary NameNode and any backup Secondanry NameNode |
50090 |
http |
Checkpoint for NameNode metadata |
No |
dfs.secondary.http.address |
ZooKeeper Failover Controller (ZKFC) | 8019 | IPC | RPC port for Zookeeper Failover Controller | No | dfs.ha.zkfc.port |