b0106 大数据集群-2021分布式B(服务器)-环境搭建
环境
HP GL360 D6 服务器 安装 vmware 12, 虚拟机装 centos7.9
大数据 6台主机 作为服务器, 另外一台主机 做 客户机 (hc2150
参考 b0105 大数据搭建,复制其3台机器,然后拓展
集群规
描述 | hc2151 | hc2152 | hc2153 | hc2154 | hc2155 | hc2156 | 启动方式 | |
ip1 (NAT) | 192.168.25.51 | 192.168.25.52 | 192.168.25.53 | 192.168.25.54 | 192.168.25.55 | 192.168.25.56 | ||
ip2 (桥接) | 192.168.1.51 | 192.168.1.52 | 192.168.1.53 | 192.168.1.54 | 192.168.1.55 | 192.168.1.56 | ||
HDFS |
NameNode DataNode |
Second NameNode DataNode |
DataNode | DataNode | DataNode | DataNode | start-dfs.sh (任意) | |
YARN | NodeManager |
NodeManager |
ResourceManager NodeManager |
NodeManager | NodeManager | NodeManager | ||
zookeeper | ✔ | ✔ | ✔ | |||||
kafka | ✔ | ✔ | ✔ | |||||
flink(standalone) | taskmanager | taskmanager | taskmanager |
jobmanasger taskmanager |
taskmanager | taskmanager | start-cluster.sh(jm节点) | |
spark(standlone) | worker | worker | worker |
worker |
master worker |
worker | ||
hbase | ✔ | ✔ | ✔ |
✔ |
✔ |
✔ |
客户端
hc2150, ip 192.168.1.50, 桥接模式
spark standlone master
http://192.168.1.55:8080/
写满200篇博文再说