美文网首页
beeline 连接hive数据库 2021-02-24

beeline 连接hive数据库 2021-02-24

作者: 迷藏_ | 来源:发表于2021-02-24 10:39 被阅读0次

打开beeline:
beeline

交互式登录

beeline> !connect jdbc:hive2://localhost:10000/default
Connecting to jdbc:hive2://localhost:10000/default
Enter username for jdbc:hive2://localhost:10000/default: lenmom
Enter password for jdbc:hive2://cdh-server2:10000/default: *****
Connected to: Apache Hive (version 2.3.4)
Driver: Hive JDBC (version 2.3.4)
Transaction isolation: TRANSACTION_REPEATABLE_READ

命令登录
beeline -u jdbc:hive2://127.0.0.1:10000 -n lenmom -p 123456

相关文章

网友评论

      本文标题:beeline 连接hive数据库 2021-02-24

      本文链接:https://www.haomeiwen.com/subject/vcojfltx.html