2019-12-02Hadoop的linux安装(以centos7为安装环境)

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

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容