Help Center/
MapReduce Service/
Troubleshooting/
Using HDFS/
Adjusting the Log Level of the HDFS SHDFShell Client
Updated on 2023-11-30 GMT+08:00
Adjusting the Log Level of the HDFS SHDFShell 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