CDH组件对应使用的端口(超全!!)

在下表中,每个端口的“ 访问要求”列通常是“内部”或“外部”。在此上下文中,“内部”表示端口仅用于组件之间的通信; “外部”表示该端口可用于内部或外部通信。

ComponentServiceQualifierPortAccess RequirementConfigurationComment
Hadoop HDFSDataNode 50010Externaldfs.datanode.addressDataNode HTTP server port
 DataNodeSecure1004Externaldfs.datanode.address 
 DataNode 50075Externaldfs.datanode.http.address 
 DataNode 50475Externaldfs.datanode.https.address 
 DataNodeSecure1006Externaldfs.datanode.http.address 
 DataNode 50020Externaldfs.datanode.ipc.address 
 NameNode 8020Externalfs.default.namefs.default.name
oris deprecated (but still works)
fs.defaultFS 
 NameNode 8022Externaldfs.namenode. servicerpc-addressOptional port used by HDFS daemons to avoid sharing the RPC port used by clients (8020). Cloudera recommends using port 8022.
 NameNode 50070Externaldfs.http.addressdfs.http.address
oris deprecated (but still works)
dfs.namenode.http-address 
 NameNodeSecure50470Externaldfs.https.addressdfs.https.address
oris deprecated (but still works)
dfs.namenode.https-address 
 Secondary NameNode 50090Internaldfs.secondary.http.addressdfs.secondary.http.address
oris deprecated (but still works)
dfs.namenode. secondary.http-address 
 Secondary NameNodeSecure50495Internaldfs.secondary.https.address 
 JournalNode 8485Internaldfs.namenode.shared.edits.dir 
 JournalNode 8480Internaldfs.journalnode. http-address 
 JournalNode 8481Internaldfs.journalnode. https-address 
 Failover Controller 8019Internal Used for NameNode HA
 NFS gateway 2049External nfs port (nfs3.server.port
 NFS gateway 4242External mountd port (nfs3.mountd.port
 NFS gateway 111External portmapper
or
rpcbind
port
 NFS gateway 50079Externalnfs.http.portCDH 5.4.0 and higher. The NFS gateway daemon uses this port to serve metrics. The port is configurable on versions 5.10 and higher.
 NFS gatewaySecure50579Externalnfs.https.portCDH 5.4.0 and higher. The NFS gateway daemon uses this port to serve metrics. The port is configurable on versions 5.10 and higher.
 HttpFS 14000External  
 HttpFS 14001External  
Hadoop YARN (MRv2)ResourceManager 8032Externalyarn. resourcemanager.address 
 ResourceManager 8030Internalyarn. resourcemanager.scheduler.address 
 ResourceManager 8031Internalyarn. resourcemanager.resource-tracker. address 
 ResourceManager 8033Externalyarn. resourcemanager.admin.address 
 ResourceManager 8088Externalyarn. resourcemanager.webapp.address 
 ResourceManager 8090Externalyarn. resourcemanager.webapp.https.address 
 NodeManager 8040Internalyarn. nodemanager.localizer. address 
 NodeManager 8041Internalyarn. nodemanager. address 
 NodeManager 8042Externalyarn. nodemanager.webapp.address 
 NodeManager 8044Externalyarn. nodemanager.webapp.https.address 
 JobHistory Server 10020Internalmapreduce. jobhistory.address 
 JobHistory Server 10033Internalmapreduce.jobhistory.admin. address 
 Shuffle HTTP 13562Internalmapreduce.shuffle.port 
 JobHistory Server 19888Externalmapreduce. jobhistory.webapp.address 
 JobHistory Server 19890Externalmapreduce. jobhistory.webapp.https.address 
 ApplicationMaster  External The ApplicationMaster serves an HTTP service using an ephemeral port that cannot be restricted. This port is never accessed directly from outside the cluster by clients. All requests to the ApplicationMaster web server is routed using the YARN ResourceManager (proxy service). Locking down access to ephemeral port ranges within the cluster's network might restrict your access to the ApplicationMaster UI and its logs, along with the ability to look at running applications.
FlumeFlume Agent 41414External  
Hadoop KMSKey Management Server 16000Externalkms_http_portCDH 5.2.1 and higher. Applies to both Java KeyStore KMS and Key Trustee KMS.
 Key Management Server 16001Localhostkms_admin_portCDH 5.2.1 and higher. Applies to both Java KeyStore KMS and Key Trustee KMS.
HBaseMaster 60000Externalhbase.master. portIPC
 Master 60010Externalhbase.master. info.portHTTP
 RegionServer 60020Externalhbase. regionserver. portIPC
 RegionServer 60030Externalhbase. regionserver.info.portHTTP
 HQuorumPeer 2181Internalhbase. zookeeper. property.clientPortHBase-managed ZooKeeper mode
 HQuorumPeer 2888Internalhbase. zookeeper. peerportHBase-managed ZooKeeper mode
 HQuorumPeer 3888Internalhbase. zookeeper.leaderportHBase-managed ZooKeeper mode
 RESTNon- Cloudera Manager - managed8080Externalhbase.rest.portThe default REST port in HBase is 8080. Because this is a commonly used port, Cloudera Manager sets the default to 20550 instead.
 RESTCloudera Manager - managed20550Externalhbase.rest.portThe default REST port in HBase is 8080. Because this is a commonly used port, Cloudera Manager sets the default to 20550 instead.
 REST UI 8085External  
 Thrift ServerThrift Server9090ExternalPass -p <port> on CLI 
 Thrift Server 9095External  
  Avro server9090ExternalPass --port <port> on CLI 
 hbase-solr-indexerLily Indexer11060External  
HiveMetastore 9083External  
 HiveServer2 10000Externalhive. server2. thrift.portThe Beeline command interpreter requires that you specify this port on the command line.
If you use Oracle database, you must manually reserve this port. For more information, see Reserving Ports for HiveServer 2.
 HiveServer2 Web User Interface (UI) 10002Externalhive. server2. webui.port 
in
hive-site.xml
 WebHCat Server 50111Externaltempleton.port 
HueServer 8888External  
KafkaBrokerTCP Port9092External/InternalportThe primary communication port used by producers and consumers; also used for inter-broker communication.
 BrokerTLS/SSL Port9093External/Internalssl_portA secured communication port used by producers and consumers; also used for inter-broker communication.
 BrokerJMX Port9393Internaljmx_portInternal use only. Used for administration via JMX.
 MirrorMakerJMX Port9394Internaljmx_portInternal use only. Used to administer the producer and consumer of the MirrorMaker.
 BrokerHTTP Metric Report Port24042Internalkafka.http.metrics.portInternal use only. This is the port via which the HTTP metric reporter listens. It is used to retrieve metrics through HTTP instead of JMX.
KuduMaster 7051External Kudu Master RPC port
 Master 8051External Kudu Master HTTP server port
 TabletServer 7050External Kudu TabletServer RPC port
 TabletServer 8050External Kudu TabletServer HTTP server port
OozieOozie Server 11000ExternalOOZIE_HTTP_PORTHTTP
in
oozie-env.sh
 Oozie ServerSSL11443External HTTPS
SentrySentry Server 8038Externalsentry.service. server.rpc-port 
 Sentry Server 51000Externalsentry.service. web.port 
SparkDefault Master RPC port 7077External  
 Default Worker RPC port 7078External  
 Default Master web UI port 18080External  
 Default Worker web UI port 18081External  
 History Server 18088Externalhistory.port 
 Shuffle service 7337Internal  
SqoopMetastore 16000Externalsqoop. metastore.server.port 
Sqoop 2Sqoop 2 server 8005LocalhostSQOOP_ADMIN_PORTenvironment variable 
 Sqoop 2 server 12000External  
 Sqoop 2 12001External Admin port
ZooKeeperServer (with CDH 5 or Cloudera Manager 5) 2181ExternalclientPortClient port
 Server (with CDH 5 only) 2888InternalX in server.N =host:X:YPeer
 Server (with CDH 5 only) 3888InternalX in server.N =host:X:YPeer
 Server (with CDH 5 and Cloudera Manager 5) 3181InternalX in server.N =host:X:YPeer
 Server (with CDH 5 and Cloudera Manager 5) 4181InternalX in server.N =host:X:YPeer
 ZooKeeper JMX port 9010Internal ZooKeeper will also use another randomly selected port for RMI. To allow Cloudera Manager to monitor ZooKeeper, you must do oneof the following:
Open up all ports when the connection originates from the Cloudera Manager Server
Do the following:
 
Open a non-ephemeral port (such as 9011) in the firewall.
Install Oracle Java 7u4 JDK or higher.
Add the port configuration to the advanced configuration snippet, for example:
-Dcom.sun.management.jmxremote.rmi.port=9011
Restart ZooKeeper.
  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值