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

posted @ 2021-09-21 23:41  Zwyooo  阅读(212)  评论(0编辑  收藏  举报