Help Center/
MapReduce Service/
Component Operation Guide (Normal)/
Using Hive/
Common Issues About Hive/
Why Cannot I Connect to HiveServer When I Use IBM JDK to Access the Beeline Client?
Updated on 2022-11-04 GMT+08:00
Why Cannot I Connect to HiveServer When I Use IBM JDK to Access the Beeline Client?
Scenario
When users check the JDK version used by the client, if the JDK version is IBM JDK, the Beeline client needs to be reconstructed. Otherwise, the client will fail to connect to HiveServer.
Procedure
- Log in to FusionInsight Manager and choose System > Permission > User. In the Operation column of the target user, choose More > Download Authentication Credential, select the cluster information, and click OK to download the keytab file.
- Decompress the keytab file and use WinSCP to upload the decompressed user.keytab file to the Hive client installation directory on the node to be operated, for example, /opt/client.
- Run the following command to open the Hive/component_env configuration file in the Hive client directory:
vi Hive client installation directory/Hive/component_env
Add the following content to the end of the line where export CLIENT_HIVE_URI is located:\; user.principal=Username @HADOOP.COM\;user.keytab=user.keytab file path/user.keytab
Parent topic: Common Issues About 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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot