Data Connection to Hadoop Hive

  • Last update:December 16, 2024
  • 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.

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

    Preparation

    Version/Driver

    Download the driver package and upload it to FineBI. For details, see section "Uploading the Database Driver" 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 VersionDriver PackageLog JAR

    hive_1.1

    Hive1.1.zip

    Log JAR.rar

    Hadoop_Hive_1.2hive2.3hive2.1.2hive2.1.1

    Hadoop Hive.rar

    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.

    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 Permissions Overview.

    新建数据集截图.png

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

    图标截图.png

    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.

    信息填写最新.png

    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.

    连接成功最新.png

    Adding Database Tables to FineBI

    Two methods are available to add database tables to FineBI.

    公共数据库新建数据集截图.png

    附件列表


    主题: Data Preparation
    • Helpful
    • Not helpful
    • Only read

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

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

    不再提示

    9s后關閉

    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