使用Beeline连接Hive
作者:互联网
服务端启动hiveserver2 [root@node04 ~]# hiveserver2
客户端进入beeline并连接
[root@node03 ~]# beeline
Beeline version 1.2.1 by Apache Hive
beeline> !connect jdbc:hive2://node04:10000
Connecting to jdbc:hive2://node04:10000 Enter username for jdbc:hive2://node04:10000: root
Enter password for jdbc:hive2://node04:10000: ******
Connected to: Apache Hive (version 1.2.1) Driver:
Hive JDBC (version 1.2.1) Transaction isolation: TRANSACTION_REPEATABLE_READ 0: jdbc:hive2://node04:10000>
退出连接 0: jdbc:hive2://node04:10000> !quit
原文链接:https://blog.csdn.net/paulfrank_zhang/article/details/80735633
标签:jdbc,10000,1.2,node04,hive2,Hive,Beeline,连接 来源: https://www.cnblogs.com/chong-zuo3322/p/15360191.html