Help Center/
MapReduce Service/
User Guide (Kuala Lumpur Region)/
FAQs/
Kerberos Usage/
How Do I Access Hive in a Cluster with Kerberos Authentication Enabled?
Updated on 2022-08-12 GMT+08:00
How Do I Access Hive in a Cluster with Kerberos Authentication Enabled?
- Log in to the master node in the cluster as user root.
- Run the following command to configure environment variables:
- If Kerberos authentication is enabled for the current cluster, run the following command to authenticate the user:
Example: kinit hiveuser
The current user must have the permission to create Hive tables..
- Run the client command of the Hive component.
- Run the Hive command in Beeline, for example:
create table test_obs(a int, b string) row format delimited fields terminated by "," stored as textfile location "obs://test_obs";
- Press Ctrl+C to exit the Hive Beeline.
Parent topic: Kerberos Usage
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