Help Center/ MapReduce Service/ Component Operation Guide (LTS) (Ankara Region)/ Using Hive/ Configuring Hive on HBase in Across Clusters with Mutual Trust Enabled
Updated on 2024-11-29 GMT+08:00

Configuring Hive on HBase in Across Clusters with Mutual Trust Enabled

For mutually trusted Hive and HBase clusters with Kerberos authentication enabled, you can access the HBase cluster and synchronize its key configurations to HiveServer of the Hive cluster.

Prerequisites

The mutual trust relationship has been configured between the two security clusters with Kerberos authentication enabled.

Procedure for Configuring Hive on HBase Across Clusters

  1. Download the HBase configuration file and decompress it.

    1. Log in to FusionInsight Manager of the target HBase cluster, click Cluster and choose Services > HBase.
    2. Choose More > Download Client.
    3. Download the HBase configuration file and choose Configuration Files only for Select Client Type.

  2. Log in to FusionInsight Manager of the source Hive cluster.
  3. Click Cluster, choose Services > Hive, click Configurations and then All Configurations. On the displayed page, add the following parameters to the hive-site.xml configuration file of the HiveServer role.

    Search for the following parameters in the hbase-site.xml configuration file of the downloaded HBase client and add them to HiveServer:

    • hbase.security.authentication
    • hbase.security.authorization
    • hbase.zookeeper.property.clientPort
    • hbase.zookeeper.quorum (The domain name needs to be converted into an IP address.)
    • hbase.regionserver.kerberos.principal
    • hbase.master.kerberos.principal

  4. Save the configurations and restart Hive.