下载链接
官方下载链接: https://archive.cloudera.com/cdh6/6.2.0/parcels/
百度网盘下载链接: https://pan.baidu.com/s/1Dm5Elf9uQqn14BUbgU3AFQ 提取码: mws3
主机规划
sparkproject1 manager 8G 50GB
sparkproject2 agent 4G 50GB
sparkproject3 agent 4G 50GB
1. 设置IP, hostname, hosts, ssh免密登录
可参考Hadoop中linux基本配置那篇文章
【Hadoop部署】Hadoop环境部署1-Linux基础设置
2. 关闭防火墙
systemctl stop firewalld 关闭防火墙
systemctl disable firewalld 禁止防火墙开机自启
vim /etc/selinux/config —> SELINUX=disabled
3.安装java, 和mysql-connector-java-5.1.34.jar
========
4.一定要装mysql, 不能用mariadb会有依赖包的问题
删除mysql旧的依赖
rpm -qa|grep mariadb
yum remove mariadb
安装mysql
<