Updated on 2023-03-09 GMT+08:00

Creating MRS Hive Data Connections

Before establishing a data connection to MapReduce (MRS) Hive, ensure that the following conditions are met:

  • An MRS cluster earlier than 2.0.0 has been created. The cluster contains Hive components. Kerberos authentication has been disabled for the MRS cluster. DLV does not support MRS Hive data sources with Kerberos authentication enabled.
  • You have obtained the MRS Hive address.

Creating an MRS Hive Data Connection

  1. Log in to the DLV console.
  2. On the Data page, click the workspace drop-down list at the top of the page, select the workspace to be accessed, and click New Data Connection.

    Figure 1 Creating a data connection

  3. In the New Data Connection dialog box, set Data Source Type to MRS Hive and set the related parameters.

    Figure 2 Creating an MRS Hive data connection
    Table 1 MRS Hive data connection parameters

    Parameter

    Description

    Name

    Name of the data connection. Must contain 1 to 32 characters and contain only letters, digits, hyphens (-), and underscores (_).

    Cluster Name

    Name of the MRS cluster.

    Domain Name

    After an MRS cluster is selected, the preferred private IP address of the cluster will be automatically matched. The domain name cannot be changed.

    Agent

    Select an available connection agent.

    Database

    You can select a database from the Database drop-down list.

  4. Click OK.

Using MRS Hive Data Sources

You can configure and use MRS Hive data sources by referring to the instructions in Using DWS Data Sources.