Ports Used by MapR

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

Gateway 7660

HBase Master

60000 (0.98.x)

16000 (1.1)

HBase Master (for GUI)

60010 (0.98.x)

16010 (1.1)

HBase RegionServer

60020 (0.98.x)

16020 (1.1)

HBase RegionServer (for GUI) 60030 (0.98.x)

16030 (1.1)

HBase Status Multicast 60100 (0.98.x)

16100 (1.1)

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

LDAP

389

LDAPS

636

maprlogin utility

7443

Metrics RPC activity

1111

MFS server

5660 and 6660

MFS server instance (only if performance enhancement is enabled)

5661 and 6661

MySQL

3306

NFS

2049

NFS monitor (for HA)

9997

NFS management

9998

NFS VIP service

9997 and 9998

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

NTP

123

Oozie

11000

Port mapper

111

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

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

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

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

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

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

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
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-0.7.1/conf/hive-site.xml

9090 Nodes running HBase Thrift Server
9290 Nodes running JobTracker with Thrift plug-in

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

Used by Oozie clients to access the Oozie server

/opt/mapr/oozie/oozie-3.0.0/conf/oozie-env.sh

11000

Nodes running Oozie services

Nodes/clients accessing Oozie services

Used by Oozie clients to access the Oozie server

/opt/mapr/oozie/oozie-3.0.0/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-*/etc/hadoop/httpfs-env.sh
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

60000 (0.98.x) 16000 (1.1)

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

60010 (0.98.x) 16010 (1.1)

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

60020 (0.98.x) 16020 (1.1)

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

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.