Ports Used by Components of CDH 5

Component Service Qualifier Port Protocol Access Requirement Configuration Comment

Hadoop HDFS

DataNode

 

50010

TCP

External

dfs.datanode.
address

DataNode HTTP server port

 

DataNode

Secure

1004

TCP

External

dfs.datanode.
address

 

 

DataNode

 

50075

TCP

External

dfs.datanode.http.
address

 

 

DataNode

Secure

1006

TCP

External

dfs.datanode.http.
address

 

 

DataNode

 

50020

TCP

External

dfs.datanode.ipc.
address

 

 

NameNode

 

8020

TCP

External

fs.default.
name
or
fs.defaultFS
fs.default.
name
is deprecated (but still works)

 

NameNode

 

50070

TCP

External

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

 

NameNode

Secure

50470

TCP

External

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

 

Secondary NameNode

 

50090

TCP

Internal

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

 

Secondary NameNode

Secure

50495

TCP

Internal

dfs.secondary.
https.address

 

 

JournalNode

 

8485

TCP

Internal

dfs.namenode.
shared.edits.dir

 

 

JournalNode

 

8480

TCP

Internal

 

 

 

NFS gateway

 

2049

TCP

 

nfs
port (
nfs3.server.port
)  

 

NFS gateway

 

4242

TCP

 

mountd
port (
nfs3.mountd.port
 

 

NFS gateway

 

111

TCP

 

portmapper
or
rpcbind
port

HttpFS

 

14000

TCP

     

 

HttpFS

 

14001

TCP

     

Hadoop MapReduce (MRv1)

JobTracker

 

8021

TCP

External

mapred.job.
tracker

 

 

JobTracker

 

50030

TCP

External

mapred.job.
tracker.
http.address

 

 

JobTracker

Thrift Plugin

9290

TCP

Internal

jobtracker.
thrift.address

Required by Hue and Cloudera Manager Activity Monitor

 

TaskTracker

 

50060

TCP

External

mapred.task.
tracker.http.
address

 

 

TaskTracker

 

0

TCP

Localhost

mapred.task.
tracker.report.
address

Communicating with child (umbilical)

Hadoop YARN (MRv2)

ResourceManager

 

8032

TCP

External

yarn.
resourcemanager.
address

 

 

ResourceManager

 

8030

TCP

Internal

yarn.
resourcemanager.
scheduler.address

 

 

ResourceManager

 

8031

TCP

Internal

yarn.
resourcemanager.
resource-tracker.
address

 

 

ResourceManager

 

8033

TCP

External

yarn.
resourcemanager.
admin.address

 

 

ResourceManager

 

8088

TCP

External

yarn.
resourcemanager.
webapp.address

 

 

NodeManager

 

8040

TCP

Internal

yarn.
nodemanager.
localizer.
address

 

 

NodeManager

 

8042

TCP

External

yarn.
nodemanager.
webapp.address

 

 

NodeManager

 

8041

TCP

Internal

yarn.
nodemanager.
address

 

 

MapReduce JobHistory Server

 

10020

TCP

Internal

mapreduce.
jobhistory.
address

 

 

Shuffle HTTP

 

13562

TCP

Internal

 

 

 

MapReduce JobHistory Server

 

19888

TCP

External

mapreduce.
jobhistory.
webapp.address

 

HBase

Master

 

60000

TCP

External

hbase.master.
port

IPC

 

Master

 

60010

TCP

External

hbase.master.
info.port

HTTP

 

RegionServer

 

60020

TCP

External

hbase.
regionserver.
port

IPC

 

RegionServer

 

60030

TCP

External

hbase.
regionserver.
info.port

HTTP

 

HQuorumPeer

 

2181

TCP

 

hbase.
zookeeper.
property.
clientPort

HBase-managed ZK mode

 

HQuorumPeer

 

2888

TCP

 

hbase.
zookeeper.
peerport

HBase-managed ZK mode

 

HQuorumPeer

 

3888

TCP

 

hbase.
zookeeper.
leaderport

HBase-managed ZK mode

 

REST

REST Service

8080

TCP

External

hbase.rest.
port

 

 

REST UI

8085

TCP

External

 

 

 

ThriftServer

Thrift Server

9090

TCP

External

Pass -p <port> on CLI

 

 

ThriftServer

9095

TCP

External

 

 

 

 

Avro server

9090

TCP

External

Pass --port <port> on CLI

 

  hbase-solr-indexer Lily Indexer 11060 TCP External    

Hive

Metastore

 

9083

TCP

External

 

 

 

HiveServer2

 

10000

TCP

External

hive.
server2.
thrift.port

The Beeline command interpreter requires that you specify this port on the command line.

Sqoop

Metastore

 

16000

TCP

External

sqoop.
metastore.
server.port

 

Sqoop 2

Sqoop 2 server

 

12000

TCP

External

 

 

 

Sqoop 2

 

12001

TCP

External

 

Admin port

ZooKeeper

Server (with CDH 5 or Cloudera Manager 5)

 

2181

TCP

External

clientPort

Client port

 

Server (with CDH 5 only)

 

2888

TCP

Internal

X in server.N
=host:X:Y

Peer

 

Server (with CDH 5 only)

 

3888

TCP

Internal

X in server.N
=host:X:Y

Peer

 

Server (with CDH 5 and Cloudera Manager 5)

 

3181

TCP

Internal

X in server.N
=host:X:Y

Peer

 

Server (with CDH 5 and Cloudera Manager 5)

 

4181

TCP

Internal

X in server.N
=host:X:Y

Peer

 

ZooKeeper FailoverController (ZKFC)

 

8019

TCP

Internal

 

Used for HA

 

ZooKeeper JMX port

 

9010

TCP

Internal

 

ZooKeeper will also use another randomly selected port for RMI. To allow Cloudera Manager to monitor ZooKeeper, you must EITHER
  • Open up all ports when the connection originates from the Cloudera Manager server; OR
  • Do the following:
    1. Open a non-ephemeral port (such as 9011) in the firewall.
    2. Install Oracle Java 7u4 JDK or later.
    3. Add the port configuration to the safety valve, for example: Dcom.sun.management.jmxremote.rmi.port=9011
    4. Restart ZooKeeper.

Hue

Server

 

8888

TCP

External

 

 

Oozie

Oozie Server

 

11000

TCP

External

OOZIE_HTTP_
PORT
in
oozie-env.sh

HTTP

 

Oozie Server

 

11001

TCP

localhost

OOZIE_ADMIN_
PORT
in
oozie-env.sh

Shutdown port

Spark

Default Master RPC port

 

7077

TCP

External

   
 

Default Worker RPC port

 

7078

TCP

     
 

Default Master web UI port

 

18080

TCP

External

   
 

Default Worker web UI port

 

18081

TCP