hadoop部署服务器
系统
主机名
IP
centos6.9
hadoop01
192.168.72.21
centos6.9
hadoop02
192.168.72.22
centos6.9
hadoop03
192.168.72.23
基础环境准备
1.修改Linux主机名
2.修改IP
3.修改主机名和IP的映射关系 /etc/hosts
4.关闭防火墙
5.ssh免登陆
6.安装JDK,配置环境变量等
7.注意集群时间要同步
8.安装zookeeper集群
部署节点规划集群部署节点角色的规划(3节点)
server01 namenode resourcemanager zkfc nodemanager datanode zookeeper journal node
server02 namenode resourcemanager zkfc nodemanager datanode zookeeper journal node
server03 datanode nodemanager zookeeper journal node
安装部署上传编译好的hadoop安装程序到服务器上并解压到指定目录
[root@hadoop01 soft]# tar zxvf spark-2.2.0-bin-2.6.0-cdh5.14.0.tgz -C /usr/local/ [root@hadoop01 soft]# cd /usr/local/ [root@hadoop01 soft]# mv hadoop-2.6.0-cdh5.14.0 hadoop-HA