Help Center/
MapReduce Service/
User Guide (Paris Region)/
Troubleshooting/
Using HDFS/
Adjusting the Log Level of the Shell Client
Updated on 2024-10-11 GMT+08:00
Adjusting the Log Level of the Shell Client
- Temporary adjustment: After the Shell client window is closed, the log is restored to the default value.
- Run the export HADOOP_ROOT_LOGGER command to adjust the log level of the client.
- Run the export HADOOP_ROOT_LOGGER=log level,console command to adjust the log level of the Shell client.
Run the export HADOOP_ROOT_LOGGER=DEBUG,console command to adjust the log level to Debug.
Run the export HADOOP_ROOT_LOGGER=ERROR,console command to adjust the log level to Error.
- Permanent adjustment
- Add export HADOOP_ROOT_LOGGER=log level,console to the HDFS client's environment variable configuration file /opt/client/HDFS/component_env (replace /opt/client with the actual client path).
- Run the source /opt/client/bigdata_env command.
- Run the command on the client again.
Parent topic: Using HDFS
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