CDH集群部署
安装步骤
安装JDK
host修改
/etc/hosts配置文件
NTP时间同步
SSH免秘钥登录
安装mariadb
yum install install mariadb -y
mariadb 建表
1
2
3
4
5
6
7
8
9SET PASSWORD=PASSWORD('xcloud2017');
grant all privileges on *.* to 'root'@'%' identified by 'xcloud2017' with grant option; flush privileges;
create database scmdbn DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
create database hive DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
create database amon DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
create database hue DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
create database monitor DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
create database report DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
create database oozie DEFAULT CHARSET utf8 COLLATE utf8_general_ci;