欢迎投稿

今日深度:

Hive安装,

Hive安装,


1、下载

cd /tmp
wget https://mirrors.tuna.tsinghua.edu.cn/apache/hive/hive-2.1.1/apache-hive-2.1.1-bin.tar.gz

2、解压缩

tar zxvf apache-hive-2.1.1-bin.tar.gz
mv apache-hive-2.1.1-bin /home/ubuntu/hadoop/hive

3、初始化

cd /home/ubuntu/hadoop/hive
rm -rf bin/metastore_db/
./bin/schematool -initSchema -dbType derby

4、启动hiveCLI
cd bin
./hive


www.htsjk.Com true http://www.htsjk.com/hive/36621.html NewsArticle Hive安装, 1、下载 cd /tmp wget https://mirrors.tuna.tsinghua.edu.cn/apache/hive/hive-2.1.1/apache-hive-2.1.1-bin.tar.gz 2、解压缩 tar zxvf apache-hive-2.1.1-bin.tar.gz mv apache-hive-2.1.1-bin /home/ubuntu/hadoop/hive 3、初始化...
相关文章
    暂无相关文章
评论暂时关闭