010.hive-spark下启动beeline客户端

spark下
[root@s101 /soft/spark/bin]#./beeline
Beeline version 1.2.1.spark2 by Apache Hive
beeline> !connect   jdbc:hive2://s101:10000/mydb


0: jdbc:hive2://s101:10000/mydb> show databases;
+---------------+--+
| databaseName |
+---------------+--+
| default |
| mydb |
+---------------+--+
2 rows selected (9.86 seconds)

 

 

posted @ 2021-08-19 10:42  star521  阅读(155)  评论(0编辑  收藏  举报