Updated on 2023-12-05 GMT+08:00

Adding a Hive Data Source

This section describes how to add a Hive data source.

Prerequisites

  • DSC has been allowed to access big data assets. For details, see Allowing or Disallowing Access to Cloud Assets.
  • You have obtained the version, host, and index of the Hive data source, and the subnet of the Hive data source has available IP address quotas.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation pane on the left, click and choose Security & Compliance > Data Security Center.
  4. In the navigation pane, choose Asset Management > Assets, and click the Big Data tab. The big data asset list is displayed.

    Figure 1 Accessing Elasticsearch assets

  5. Click the Hive tab. The Hive asset list is displayed.
  6. In the upper left corner of the Hive asset list, click Adding a Hive Data Source.
  7. In the displayed dialog box, set big data source parameters by referring to Table 1.

    Figure 2 Adding a Hive data source
    Table 1 Parameters for adding a Hive data source

    Parameter

    Description

    Example Value

    Asset

    Enter an asset name containing 4 to 255 characters.

    DSCHiveTest

    Region

    Region where the account is used for login

    -

    ECS

    Select an ECS instance from the drop-down list.

    --

    Big Data Type

    Select Hive.

    Hive

    Security Group

    Select an existing security group from the drop-down list box.

    default

    Version

    In the displayed Select LDT Version dialog box, select the required LDT version.

    5.x

    Database Server Address

    Enter the IP address of the server.

    192.168.0.233

    Port

    Enter the port number of the server.

    10000

    Database

    Enter a database name.

    --

    Username

    Enter the username for accessing the server.

    --

    Password

    Enter the password for accessing the server.

    --

  8. Click OK. The Hive data source is added.

    After the Hive data source is added, its connectivity status is Checking, which indicates that the DSC is testing the connectivity to the Hive data source with your username and password.
    • If the connectivity status is Succeeded, DSC can access the added data source.
    • If the connectivity status is Failed, DSC can access the added data source. Click Details to view the failure cause and enter the correct username and password for accessing the added data source.

Related Operations

  • Deleting an asset
    In the Hive asset list, click Delete in the Operation column of the target asset to delete the asset.

    Deleted assets cannot be restored. The deletion operation will also delete the asset-related task templates, task results, and reports. Exercise caution when performing this operation.

  • Creating an identification task

    In the Hive asset list, click Create Identification Task in the Operation column of the target asset. The identification task list is displayed. For details about how to create an identification task, see Creating an Identification Task.