Data Connection to Hadoop Hive

  • Last update:October 13, 2025
  • Overview

    Version

    FineBI Version
    Functional Change

    6.0

    /

    Application Scenario

    Hadoop is a common and distributed computing solution. Hive is a data warehouse architecture based on Hadoop.

    This document introduces how to connect to the Hadoop Hive data source.

    iconNote:
    This database does not support data tables with direct connection attributes.

    Preparation

    Version and Driver

    Download the driver according to the database version and upload it to FineBI. For details, see section "Creating a Data Connection" in Driver Management.

    iconNote:
    During driver package upload, you need to decompress the Log JAR file below and upload it to FineBI together with the driver package.

    Supported Database Version
    Driver PackageLog JAR

    hive_1.1
     Hadoop_Hive_1.2
    ;hive2.3
       hive2.1.2
    ;hive2.1.1

    Get the driver according to the FineBI version.
    hive-jdbc-standalone.jar obtained from the Hive community is recommended.Fanruan does not provide drivers.

    Log JAR.rar

    Connection Information Collection

    Before connecting the database to FineBI, you need to collect the following information:

    • IP address and port number of the database server

    • Database name

    • Username and password (for username and password authentication); client principal and keytab file path (for Kerberos authentication)

    Connection Procedure

    1. Log in to FineBI as the admin, choose System Management > Data Connection > Data Connection Management, click Create, and select Data Connection, as shown in the following figure.

    iconNote:
     If you are not the admin, you can configure data connections only after the admin assigns you the permission on Data Connection Management. For details, see Data Connection Permission Overview.

     2.1.png

    2. Find the Hadoop Hive icon, as shown in the following figure.

     2.2.png

    3. Select Custom from the Driver drop-down list, select the driver uploaded in section "Version and Driver", and enter the connection information collected in section "Connection Information Collection", as shown in the following figure.

    For details about Kerberos authentication, see Kerberos Authentication in Data Connection.

     2.3.png

    To use Kerberos authentication, you need to pay attention to the following points.

    • Check whether the IP address corresponding to the machine name in /etc/hosts is a LAN IP address.

    • Check whether the machine name set in /etc/hostname is consistent with that set in /etc/hosts.

    • Check whether 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, your client may not be able to resolve the host name of the database server. In this case, you need to configure the client's file in /etc/hosts and add remote mapping (IP address and host 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.

     2.4.png

    Adding Database Tables to FineBI

    Two methods are available to add database tables to FineBI.

    2.5.png 

     


    附件列表


    主题: Data Center
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy