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
- Download the HBase configuration file and decompress it.
- Log in to FusionInsight Manager of the target HBase cluster and choose Cluster > Services > HBase.
- Choose More > Download Client.
- Download the HBase configuration file and choose Configuration Files only for Select Client Type.
- Log in to FusionInsight Manager of the source Hive cluster.
- Choose Cluster > Services > Hive and click the Configurations tab 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
- Save the configurations and restart Hive.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot