Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ MapReduce Service/ Troubleshooting/ Using HDFS/ Adjusting the Log Level of the HDFS SHDFShell Client

Adjusting the Log Level of the HDFS SHDFShell Client

Updated on 2024-12-18 GMT+08:00
  • Temporary adjustment: After the Shell client window is closed, the log is restored to the default value.
    1. Run the export HADOOP_ROOT_LOGGER command to adjust the log level of the client.
    2. 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
    1. 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).
    2. Run the source /opt/client/bigdata_env command.
    3. Run the command on the client again.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback