Help Center/
MapReduce Service/
Component Operation Guide (ME-Abu Dhabi Region)/
Using Hive/
Common Issues About Hive/
How Do I Disable the Logging Function of Hive?
Updated on 2024-07-19 GMT+08:00
How Do I Disable the Logging Function of Hive?
Question
How do I disable the logging function of Hive?
Answer
- Log in to the node where the client is installed as user root.
- Run the following command to switch to the client installation directory, for example, /opt/client:
cd /opt/client
- Run the following command to configure environment variables:
source bigdata_env
- Log in to the Hive client based on the cluster authentication mode.
- In security mode, run the following command to complete user authentication and log in to the Hive client:
beeline
- In normal mode, run the following command to log in to the Hive client:
- In security mode, run the following command to complete user authentication and log in to the Hive client:
- Run the following command to disable the logging function:
set hive.server2.logging.operation.enabled=false;
- Run the following command to check whether the logging function is disabled. If the following information is displayed, the logging function is disabled successfully.
set hive.server2.logging.operation.enabled;
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