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/Bigdata/client:
cd /opt/Bigdata/client
- Run the following command to configure environment variables:
source bigdata_env
- Log in to the Hive client based on the cluster authentication mode.
- 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;
