Overview
Version
FineBI Version | Functional Change |
---|---|
6.0 | / |
Application Scenario
Hadoop is a popular distributed computing solution. Hive is a data warehouse architecture based on Hadoop.
This document introduces how to connect to the Hadoop Hive data source.

Preparation
Version/Driver
Download the driver package and upload it to FineBI. For details, see section "Uploading the Database Driver" in Driver Management.

Supported Database Version | Driver Package | Log JAR |
---|---|---|
hive_1.1 | ||
Hadoop_Hive_1.2; hive2.3; hive2.1.2; hive2.1.1 |
Connection Information Collection
Before connecting the database, you need to collect the following information:
IP address and port number of the database server
Database name
Username and password (if username and password authentication is used); client principal and keytab file path (if Kerberos authentication is used)
Connection Procedure
1. Log in to FineBI as the admin, choose System Management > Data Connection > Data Connection Management, and click New Data Connection, as shown in the following figure.

2. Find the Hadoop Hive icon, as shown in the following figure.
3. Select Custom from the Driver drop-down list, select the driver uploaded in section "Version/Driver", and enter the connection information collected in section "Connection Information Collection."
For details about Kerberos authentication, see Kerberos Authentication in Data Connection.
To use Kerberos authentication, you need to pay attention to the following points.
Check if the IP address corresponding to the machine name in /etc/hosts is a LAN IP address.
Check if the machine name set in /etc/hostname is consistent with that set in /etc/hosts.
Check if the IP address and machine name in the hosts file of the machine where FineBI is located are correct.
In some cases, especially in non-public network environments, the hostname of the database server may not be able to be parsed by your client. In such cases, you need to configure the hosts file in /etc/hosts of the client and add remote mapping (IP address and Machine name, for example, 192.168.5.206 centos-phoenix).
4. Click Test Connection. If the connection is successful, click Save, as shown in the following figure.
Adding Database Tables to FineBI
Two methods are available to add database tables to FineBI.