Navicat连接Hive

Navicat连接hive的步骤:

第一步:win下安装好mysql。

第二步:win下安装Navicat。

第三步:启动hadoop集群,启动hive。

第四步:Navicat连接hive。

在第四步中需先配置ssh,然后配置常规属性,最后点连接。

hive-site.xml文件添加以下内容

<property>
  <name>javax.jdo.option.ConnectionUserName</name>
  <value>hive</value>
  <description>username to use against metastore database</description>
</property>
 
<property>
  <name>javax.jdo.option.ConnectionPassword</name>
  <value>hive</value>
  <description>password to use against metastore database</description>
</property>

配置ssh连接hive节点
navicat hive 01

配置常规属性连接hive
navicat hive 02

posted @ 2021-04-02 11:32  hank-li  阅读(3124)  评论(0编辑  收藏  举报