Hive2安装详解
解压hive安装包Tar -zxvf apache-hive-2.1.1-bin.tar.gz 安装mysql,使用yum命令自动安装 将mysql的connector到hive的lib目录下 启动MySQL,service mysqld start 修改mysql密码:Mysql -u rootUse mysql;Update user set password=password(‘newpass’) where user=’root’;Flush privileges;Grant all privileges . to ‘root’%’ identified by ‘newpass’ with grant optiomn;FLUSH PRIVILEGES; 配置环境变量Vim /etc/profile HIVE export HIVE_HOME=/home/zhouwang/apache-hive-2.1.1-binexport HIVE_CONF_HOME=$HIVE_HOME/confexport PATH=:$PATH:$HIVE_HOME/bin 配置hive,conf/h...