Hive安装配置详解
1. 安装MySQL
sudo apt-get install mysql-server mysql-client1). 建立数据库hive,
create database hive;
2). 创建用户hive
create user 'hive'@'%' identified by 'hive';
3).创建hive用户,并授权
grant all on hive.* to hive@'%' identified by 'hive';flush privileges;
2.安装Hive
1). 官网下载hive安装包,并解压。2).hive配置信息,(hive仅需要在master节点配置即可)
我安装在根目录的software下
tg@master:/software$ ls
apache-hive-1.1.1-bin hadoop-2.6.4 hbase-1.2.1-bin.tar.gz zo