5. Getting Started With Kyuubi and DataGrip

5.1. What is DataGrip

DataGrip is a multi-engine database environment released by JetBrains, supporting MySQL and PostgreSQL, Microsoft SQL Server and Oracle, Sybase, DB2, SQLite, HyperSQL, Apache Derby, and H2.

5.2. Preparation

5.2.1. Get DataGrip And Install

Please go to Download DataGrip to get and install an appropriate version for yourself.

5.2.2. Get Kyuubi Started

Get kyuubi server started before you try DataGrip with kyuubi.

For debugging purpose, you can use tail -f or tailf to track the server log.

5.3. Configurations

5.3.1. Start DataGrip

After you install DataGrip, just launch it.

5.3.2. Select Database

Substantially, this step is to choose a JDBC Driver type to use later. We can choose Apache Hive to set up a driver for Kyuubi.

select database

5.3.3. Datasource Driver

You should first download the missing driver files. Just click on the link below, DataGrip will download and install those.

datasource and driver

5.3.4. Generic JDBC Connection Settings

After install drivers, you should configure the right host and port which you can find in kyuubi server log. By default, we use localhost and 10009 to configure.

Of curse, you can fill other configs.

After generic configs, you can use test connection to test.


5.4. Interacting With Kyuubi Server

Now, you can interact with Kyuubi server.

The left side of the photo is the table, and the right side of the photo is the console.

You can interact through the visual interface or code.


5.5. The End

There are many other amazing features in both Kyuubi and DataGrip and here is just the tip of the iceberg. The rest is for you to discover.