1.下载hive稳定版
2.选择使用本地mysql方式
yum install mysql
yum install mysql-server -y
修改root密码 mysqladmin -u root password 111111
登录mysql mysql -u root -p;
授权:GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '111111' WITH GRANT OPTION;flush privileges;
3.配置hive的环境变量
4.配置hive-site.xml