6、安装Hive
- 下载
http://apache.fayea.com/hive/hive-2.1.1/apache-hive-2.1.1-bin.tar.gz
- 将Hadoop安装到/usr/local/hive
tar -xvzf apache-hive-2.1.1-bin.tar.gz -C /usr/local
mv /usr/local/apache-hive-2.1.1-bin /usr/local/hive
- 修改/etc/profile,末尾添加以下内容:
# Hive
export HIVE_HOME=/usr/local/hive
export PATH=$PATH:$HIVE_HOME/bin
网友评论