大数据Hadoop、Spark、ZooKeeper、Flume、Azkaban、HBase、Storm、Flink、Spark组件常用端口笔记
大数据Hadoop组件常用端口
9000端口是与NameNode进行RPC通信的端口
[root@Hadoop284 hadoop] vi core-site.xml
<!--配置HDFS主节点的地址,就是NameNode的地址-->
<!--9000是RPC通信的端口-->
<property>
<name>fs.defaultFS</name>
<value>hdfs://CentOS7Hadoop284-111:9000</value>
</property>
50070端口 Active NameNode Web页面
(active):http://10.10.10.111:50070
50090端口 Secondary NameNode HDFS Web页面
Secondary NameNode:http://10.10.10.112:50090
50010 50075端口 DataNode Web页面
http://10.10.10.112:50075
http://10.10.10.113:50075/
8088 8042 YARN (Yet Another Resource Negotiator)的Web页面
http://10.10.10.111:8088
http://10.10.10.112:8042
http://10.10.10.113:8042/
ZooKeeper端口
1、2181:对cline端提供服务
2、3888:选举leader使用
3、2888:集群内机器通讯使用(Leader监听此端口)
[root@Hadoop284-111 conf]# vi zoo.cfg
# The number of milliseconds of each tick
# 指定ZooKeeper中的基本时间单元(以毫秒为单位),心跳间隔时间;
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
# LF初始通信时限
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
# LF同步通信时限
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# dataDir属性设置zookeeper存储持久数据的本地文件系统位置
dataDir=/opt/zookeeper-3.4.10/zpdata
#dataDir=/tmp/zookeeper
# the port at which the clients will connect
# 指定监听客户端连接的端口
clientPort=21