Ports Used by MapR

This page provides two reference tables - one for cluster ports with default port numbers and the other with destination and source details- and tips for avoiding port conflicts.

Services and Ports Quick Reference

The table below defines the ports used by a MapR cluster, along with the default port numbers.

Service

Port

CLDB

7222

CLDB JMX monitor port

7220

CLDB web port

7221

DNS

53

Drill JMX Port 6090
Elasticsearch 9200 and 9300
Gateway 7660
Grafana 3000

HBase Master

16000

HBase Master (for GUI)

16010

HBase Master JMX port 10101

HBase RegionServer

16020

HBase RegionServer (for GUI) 16030
HBase RegionServer JMX port 10102
HBase Status MultiCast 16100
HBase Thrift Server 9090
HistoryServer RPC 10020
HistoryServer Web UI and REST APIs (HTTP) 19888

Hive Metastore

9083

Hiveserver2 10000
Httpfs 14000
Hue Beeswax 8002
Hue Webserver 8888
Impala Catalog Daemon 25020
Impala Daemon 21000
Impala Daemon 21050
Impala Daemon 25000
Impala StateStoreDaemon 25010

JobTracker

9001

JobTracker web

50030

Kafka REST Proxy for MapR Streams 8082
Kafka Connect for MapR Streams 8083
Kibana 5601

LDAP

389

LDAPS

636

maprlogin utility

7443

Metrics RPC activity

1111

MFS server

5660, 5692, 5724, 5756

MFS server instance

See Ports for Multi-MFS

MySQL

3306

NFS

2049

NFS monitor (for HA)

9997

NFS management

9998

NFS VIP service

9997 and 9998

NodeManager JMX Port 8027
NodeManager 8041
NodeManager Localizer RPC 8040
NodeManager Web UI and REST APIs (HTTP) 8042

NTP

123

OpenTSDB 4242

Port mapper

111

ResourceManager JMX Port 8025
ResourceManager Admin RPC 8033
ResourceManager Client RPC 8032
ResourceManager Resource Tracker RPC (for NodeManagers) 8031
ResourceManager Scheduler RPC (for ApplicationMasters) 8030
ResourceManager Web UI (HTTP) 8088
Secure HistoryServer Web UI and REST APIs (HTTPS) 19890
Secure NodeManager Web UI and REST APIs (HTTP) 8044
Secure ResourceManager Web UI (HTTPS) 8090
Shuffle HTTP 13562

SMTP

25

Spark Standalone Master (RPC) 7077
Spark Standalone Master (Web UI) 8080
Spark Standalone Worker 8081
Spark Thrift Server 10000
Spark History Server 18080
Spark External Shuffle Service 7337
Sqoop2 Server 12000

SSH

22

TaskTracker web

50060

Web UI HTTPS

8443

Web UI HTTP (off by default)

8080

ZooKeeper

5181

ZooKeeper follower-to-leader communication

2888

ZooKeeper leader election

3888

Port Details

The following table shows source and destination nodes for a given port, the purpose of the port, and the file where the port number is set.

Destination Port

Destination

Source

Purpose

Parameter and File where Port is Configured

22

Nodes running any MapR services

Nodes/client running mapr-support-collect.sh or "maprcli disk" API calls

mapr-support-collect.sh leverages SSH over port 22 to connect to a shell environment on cluster nodes in which the mapr-support-dump.sh script will be run

N/A

53

Domain Name Service

N/A

111

Nodes running MapR NFS Services

Nodes/clients accessing MapRFS via the NFS protocol

RPC Portmap services used to connect to MapR-FS via NFSv3

N/A

123

Network Time Protocol

N/A

389

Lightweight Directory Access Protocol

N/A

636

Lightweight Directory Access Protocol over SSL

N/A

1111

Nodes running hoststats

Clients using maprcli commands or the MapR Control System UI

Hoststats listening port for MapR Metrics RPC activity

/opt/mapr/conf/warden.conf

2049

Nodes running MapR NFS Services

Nodes/clients accessing MapRFS via the NFS protocol

NFSv3 access to MapR-FS

N/A

2888

Nodes running ZooKeeper services

Nodes running ZooKeeper services

ZooKeeper Server > Server Communication

/opt/mapr/zookeeper/zookeeper-<version>/conf/zoo.cfg

3000 Nodes running Grafana for MapR Monitoring use cases. Web browsers Web browsers use this port when connecting to Grafana. N/A

3306

Nodes running the MySQL database for system metrics and jobs display

Nodes running the mapr-metrics package

Used for mySQL traffic between the web services client and its mySQL backend server

N/A (system default)

3888

Nodes running ZooKeeper services

Nodes running ZooKeeper services

ZooKeeper Server > Server Communication

/opt/mapr/zookeeper/zookeeper-<version>/conf/zoo.cfg

4242 Nodes running OpenTSDB for MapR Monitoring use cases. OpenTSDB clients, such as Collectd. Collectd uses this port to write metrics to OpenTSDB. You can configure a different port for MapR Monitoring use cases when you run configure.sh with the -OT parameter.

5181

Nodes running ZooKeeper services

Nodes running ZooKeeper services, clients executing ZooKeeper API calls

ZooKeeper API calls

/opt/mapr/zookeeper/zookeeper-<version>/conf/zoo.cfg, /opt/mapr/conf/warden.conf, /opt/mapr/conf/cldb.conf, /opt/mapr/hbase/hbase-<version>/conf/hbase-site.xml, /opt/mapr/hive/hive-<version>/conf/hive-site.xml

5601 Nodes running Kibana for MapR Monitoring use cases Web browsers Web browsers use this port when connecting to Grafana. N/A

5660

Nodes running FileServer services

Nodes running any MapR services, clients interacting with MapRFS

MapR-FS API calls

/opt/mapr/conf/mfs.conf, /opt/mapr/conf/warden.conf

6090 Nodes running the Drillbit Drill JMX Port The port on which Collectd gathers Drill metrics via JMX.  
6660 Nodes running MapR-FS Nodes running the gateway service The port on which gateway nodes send replicated operations to nodes in destination clusters.

7220

Nodes running CLDB services

CLDB JMX monitor port

The port on which Collectd gathers CLDB metrics via JMX. N/A

7221

Nodes running CLDB services

Nodes/clients connecting to the CLDB GUI

CLDB GUI

/opt/mapr/conf/cldb.conf

7222

Nodes running CLDB services

Nodes running any MapR services, clients interacting with MapRFS

MapR-FS API calls

/opt/mapr/conf/cldb.conf, /opt/mapr/conf/warden.conf, /opt/mapr/conf/mapr-clusters.conf

7443 Nodes running CLDB services Connections via the maprlogin utility When security is enabled for a cluster, the CLDB listens for connections on port 7443. If security is disabled, the maprlogin utility is unable to reach the CLDB.
7660 Nodes running the gateway service Nodes sending operations to replicate The port used by gateway services to listen for incoming replication operations.
8002 Nodes running Hue Beeswax services Nodes/clients accessing Hue Beeswax services (through Hue webserver apps - Beeswax and Metastore manager) Used by Hue beeswaxserver clients to access the Hue beeswaxserver /opt/mapr/hue/hue*/desktop/conf/hue.ini
8025 Nodes running ResourceManager ResourceManager JMX port The port on which Collectd gathers metrics from the ResourceManager via JMX. N/A
8027 Nodes running NodeManager NodeManager JMX Port The port on which Collectd gathers metrics from NodeManager nodes via JMX. N/A
8030 Nodes running ResourceManager Applications that access the ResourceManager The port on which the applications in the cluster talk to the ResourceManager.

yarn.resourcemanager.scheduler.address in

/opt/mapr/hadoop/hadoop-<version>/etc/hadoop/yarn-site.xml

8031 Nodes running ResourceManager Applications that access the ResourceManager

yarn.resourcemanager.resource-tracker.address in

/opt/mapr/hadoop/hadoop-<version>/etc/hadoop/yarn-site.xml

8032 Nodes running ResourceManager Clients that submit YARN applications

yarn.resourcemanager.address in

/opt/mapr/hadoop/hadoop-<version>/etc/hadoop/yarn-site.xml

8033 Nodes running ResourceManager Applications that access the ResourceManager yarn.resourcemanager.admin.address in /opt/mapr/hadoop/hadoop-<version>/etc/hadoop/yarn-site.xml
8040 Nodes running NodeManager yarn.nodemanager.localizer.address in /opt/mapr/hadoop/hadoop-<version>/etc/hadoop/yarn-site.xml
8041 Nodes running NodeManager yarn.nodemanager.address in /opt/mapr/hadoop/hadoop-<version>/etc/hadoop/yarn-site.xml
8042 Nodes running NodeManager yarn.nodemanager.webapp.address in /opt/mapr/hadoop/hadoop-<version>/etc/hadoop/yarn-site.xml
8044 Secure nodes running NodeManager Specifies NodeManager https port yarn.nodemanager.webapp.https.address in /opt/mapr/hadoop/hadoop-<version>/etc/hadoop/yarn-site.xml
8088 Nodes running ResourceManager master ResourceManager Web UI yarn.resourcemanager.webapp.address in /opt/mapr/hadoop/hadoop-<version>/etc/hadoop/yarn-site.xml
8090 Secure nodes running ResourceManager master ResourceManager Web UI

/opt/mapr/conf/web.conf

8888 Nodes running Hue web services Nodes/clients accessing Hue web services Used by Hue webserver clients to access the Hue webserver /opt/mapr/hue/hue*/desktop/conf/hue.ini

9001

Nodes running JobTracker Services

Nodes running TaskTracker services, clients submitting/interacting with Map/Reduce jobs

JobTracker <--> TaskTracker communication, Hadoop API calls that require interaction with JobTracker services

/opt/mapr/conf/warden.conf, /opt/mapr/hadoop/hadoop-0.20.2/conf/mapred-site.xml

9083

Nodes running the Hive metastore services

Nodes/clients performing Hive queries/operations

Used by Hive clients to query/access the Hive metastore

/opt/mapr/hive/hive-<version>/conf/hive-site.xml

9090 Nodes running HBase Thrift Server
9200 Nodes running Elasticsearch for MapR Monitoring use cases Non-Elasticsearch components, such a web browser, curl, and Kibana, that connect to Elasticsearch. Non-Elasticsearch components use this port when communicating with Elasticsearch. You can configure different port for MapR Monitoring use cases when you run configure.sh with the -ES parameter.
9290 Nodes running JobTracker with Thrift plug-in
9300 Nodes running Elasticsearch for MapR Monitoring use cases Nodes running Elasticsearch Elasticsearch uses this port for communications between Elasticsearch daemons.  

9997

Nodes running NFS services

Nodes running NFS services

NFS VIP Management

/opt/mapr/conf/nfsserver.conf

9998

Nodes running NFS services

Nodes running NFS services

NFS VIP Management

/opt/mapr/conf/nfsserver.conf

10000 Nodes running Hiveserver2
10020 Nodes running MapReduce JobHistory Server    
10101 Nodes running HBase Master HBase Master JMX port The port on which Collectd gathers metrics from HBase Master via JMX. N/A
10102 Node running HBase Region Server HBase Region Server JMX port. The port on which Collectd gathers metrics from HBase Region Server via JMX N/A

11000

Nodes running Oozie services

Nodes/clients accessing Oozie services

Used by Oozie clients to access the Oozie server

/opt/mapr/oozie/oozie-<version>/conf/oozie-env.sh

12000 Nodes running Sqoop2 services Nodes/clients accessing Sqoop2 services Used by Sqoop2 clients to access the Sqoop2 server
13562 Shuffle HTTP
14000 Nodes running httpfs services Nodes/clients accessing httpfs services Used by httpfs file clients to access the httpfs server /opt/mapr/httpfs/httpfs-<version>/etc/hadoop/httpfs-env.sh

16000

Nodes running HBase Master services

Nodes running HBase RegionServer services, clients executing HBase API calls

HBase Server > Server communication, HBase API calls

/opt/mapr/hbase/hbase-<version>/conf/hbase-site.xml, /opt/mapr/conf/warden.conf

16010

Nodes running HBase Master services

Nodes/clients connecting to the HBase GUI

HBase Master HTTP GUI

/opt/mapr/hbase/hbase-<version>/conf/hbase-site.xml

16020

Nodes running HBase RegionServer services

Nodes running HBase RegionServer services, clients executing HBase API calls

HBase Server > Server communication, HBase API calls

/opt/mapr/hbase/hbase-<version>/conf/hbase-site.xml

19888 Nodes running MapReduce JobHistory Server
19890 Secure nodes running MapReduce JobHistory Server
21000 Nodes running Impala Daemon Used to transmit commands and receive results by impala-shell and Beeswax.
21050 Nodes running Impala Daemon Used by applications, such as Business Intelligence tools, to transmit commands and receive results using JDBC.
25000 Nodes running Impala Daemon Impala web interface for monitoring and troubleshooting.
25010 Nodes running Impala StateStore Daemon StateStore web interface for monitoring and troubleshooting.
25020 Nodes running Impala Catalog Daemon Catalog service web interface for monitoring and troubleshooting. Available in Impala 1.2 and higher.

50030

Nodes running JobTracker Services

Nodes/clients connecting to the JobTracker GUI

JobTracker HTTP GUI

/opt/mapr/conf/warden.conf, /opt/mapr/hadoop/hadoop-0.20.2/conf/mapred-site.xml

50060

Nodes running TaskTracker Services

Nodes/clients connecting to the TaskTracker GUI

TaskTracker HTTP GUI

/opt/mapr/hadoop/hadoop-0.20.2/conf/mapred-site.xml

Avoiding Port Conflicts

To avoid eventual trouble with port conflicts on your MapR clusters, try these tips:

  • Remap the ports for the JobTracker, TaskTracker, HBaseMaster, and HBaseRegionServer services to ports below 32768.
  • Set the ephemeral port range to stop at 50029 by changing the value in the file /proc/sys/net/ipv4/ip_local_port_range. Note that this setting changes the available number of ephemeral ports from the default of 28,233 ports to 17,233.