hive开启远程连接

hive开启远程连接

 

1、开启hdfs

start-dfs.sh

2、在root下:

在root下:

node01输入:

/kkb/install/hive/bin/hive --service metastore 

克隆node01输入:

 /kkb/install/hive/bin/hive --service hiveserver2  

node03输入:

/kkb/install/hive/bin/beeline  

 ! connect jdbc:hive2://node01:10000

转自:hive开启远程连接方法 - JLKB - 博客园 (cnblogs.com)

 

posted @ 2021-10-13 18:45  奇怪的软工人  阅读(306)  评论(0编辑  收藏  举报