Hadoop Default Ports

Computers are able to distinguish between various traffic types with the use of ports. A default open port is a port number that is preconfigured to accept internet connections and packets from specific services using protocols like the User Datagram Protocol (UDP), Stream Control Transmission Protocol (SCTP), Datagram Congestion Control Protocol (DCCP), or Transmission Control Protocol (TCP).

In this essay, we’ll discuss Hadoop 3.x, which has a number of modified ports for various services. For example,  NameNode ports 50470, 50070, and 8020 are changed to 9871, 9870, and 9820 respectively. Similarly, Secondary NameNode ports 50090 and 50091 have been changed to 9868 and 9869 respectively. DataNode ports 50010, 50020, 50075, and 50475 have been changed to 9866, 9867, 9864, and 9865 respectively.

Here is more information regarding Hadoop ports in detail.

ServiceServersHadoop 1 & 2 PortsHadoop 3 PortsProtocolConfig ParametersDescription
NameNode WebUIMaster Nodes (NameNode and any back-up NameNodes)500709870httpdfs.http.addressWeb UI to look at current status of HDFS, explore file system
504709871httpsSecure http service
NameNode metadata serviceMaster Nodes (NameNode and any back-up NameNodes)8020 / 9000IPCEmbedded in URI specified by fs.default.nameFile system metadata operations
DataNodeAll Slave Nodes500759864httpdfs.datanode.http .addressDataNode WebUI to access the status, logs etc.
504759865httpsdfs.datanode.https .addressSecure http service
500109866dfs.datanode.addressData transfer
500209867IPCdfs.datanode.ipc .addressMetadata operations
Secondary NameNodeSecondary NameNode and any backup Secondary NameNode500909868httpdfs.secondary.http .addressCheckpoint for Namenode metadata

Leave a Reply