ubuntu18.04
下载Hive
wget https://dlcdn.apache.org/hive/hive-3.1.2/apache-hive-3.1.2-bin.tar.gz
解压Hive
tar -zxf apache-hive-3.1.2-bin.tar.gz
更改名称
mv apache-hive-3.1.2-bin hive
配置环境变量
vim /etc/profile
export HiVE_HOME=/root/hive
export HADOOP_HOME=/root/hadoop
export PATH=$PATH:$HIVE_HOME/bin
使配置生效
source /etc/profile
配置Hive配置文件
#进入hive的安装目录
cd hive
#修改配置文件名称
mv conf/h
Original: https://blog.csdn.net/wr456wr/article/details/125167020
Author: wr456wr
Title: Hive编程实践
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/818301/
转载文章受原作者版权保护。转载请注明原作者出处!