hive客户端的打开

哎总是忘了做个笔记。

1.

beeline -u jdbc:hive2://localhost:10000/big12

 

2.

 

第一步:先启动hiveserver2----必须启动

第二步:

<property>
    <name>hive.server2.authentication</name>
    <value>NOSASL</value> 
        <!-- 如果出现SASL那就一定需要修改这个属性,而且启动beeline要加属性;auth=noSasl-->
</property>

 

启动beeline: 
1)[centos@s101 ~]$ beeline
2)beeline> !connect jdbc:hive2://localhost:10000/big12;auth=noSasl

 

posted @ 2019-02-11 16:47  wqbin  阅读(1737)  评论(0编辑  收藏  举报