应用场景
之前介绍了单节点,部署伪分布式hadoop集群,可以作为自己使用,但是真正投入生产环境,伪分布式是不够的,仅仅作为个人研究测试使用,此时我们需要部署搭建hadoop完全分布式集群,此hadoop性能将更加强悍,满足生产需求,下面就搭建Apache Hadoop2.6.0环境演示。
操作步骤
1. 配置网络[每个节点]
2. 关闭防火墙[每个节点]
# systemctl stop firewalld.service
# systemctl disable firewalld.service
# vim /etc/selinux/config #设置selinux = disabled
3. 修改主机名和配置hosts[每个节点]
# vim /etc/hostname #3个节点分别命为hadoop0,hadoop1,hadoop2