hadoop的四种安装模式
| 模式名称 | 各个模块占用的JVM进程数 | 各个模块运行在几个机器数上 |
|---|---|---|
| 本地模式 | 1个 | 1个 |
| 伪分布式模式 | N个 | 1个 |
| 完全分布式模式 | N个 | N个 |
| HA完全分布式 | N个 | N个 |
https://www.jianshu.com/p/0d4a365ef350
linux下安装hadoop3(完全分布模式)
https://blog.csdn.net/s1078229131/article/details/93846369
hadoop的linux环境配置
# set hadoop
export HADOOP_HOME=/usr/local/src/hadoop-3.2.1
export PATH=$PATH:$HADOOP_HOME/sbin:$HADOOP_HOME/bin
实现linux虚拟机间的免密登入
https://blog.csdn.net/mo_ing/article/details/81042816
防火墙
1:查看防火状态
systemctl status firewalld
service iptables status
2:暂时关闭防火墙
systemctl stop firewalld
service iptables stop
3:永久关闭防火墙
systemctl disable firewalld
chkconfig iptables off
4:重启防火墙
systemctl enable firewalld
service iptables restart
5:永久关闭后重启
//暂时还没有试过
chkconfig iptables on
6、放开防火墙端口
firewall-cmd --query-port=6379/tcp
firewall-cmd --add-port=123/tcp --permanent
firewall-cmd --reload