Home  >  Article  >  Database  >  Can navicat connect to hive?

Can navicat connect to hive?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-17 14:59:2313661browse

Can navicat connect to hive?

Steps for Navicat to connect to hive:

Step 1: Install mysql under win.

Step 2: Install Navicat under win.

Step 3: Start the hadoop cluster and start hive.

Step 4: Navicat connects to hive.

In the fourth step, you need to configure ssh first, then configure the general properties, and finally click Connect.

Configure ssh to connect to spark1 node

Configure general properties to connect to hive

Note: The username and password in the general properties are hive, and the configuration file hive-site is in the installation directory. The user and password set in xml. My configuration is all hive.

Related recommendations: "Navicat for mysql graphic tutorial"

Part of the content in the hive-site.xml configuration file:

<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>

Fourth The property configuration details in the step are as follows:

Can navicat connect to hive?

Can navicat connect to hive?

spark1 in the picture is my host name, it can also be changed directly to 192.168. The IP address 220.144.

As shown below after successful connection:

Can navicat connect to hive?

The above is the detailed content of Can navicat connect to hive?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn