Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What is the modulation method at the hadoop log level

Shulou Source: shulou.com Published: 2022-06-01 14:56:16 11月07日 Update

This article mainly explains the "hadoop log level modulation method is what", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "hadoop log level modulation method is what" it!

Log4j is responsible for hadoop's log. But after reading the document, it is found that the configuration of log4j will be overwritten.

Then you have to go somewhere to cover it.

Several places were found.

There is a log level configuration in hadoop-env.sh.

Change info level to WARN level.

Then there are also environment variables on the log level in hadoop-daemon.sh. Need。

It's the same. The log level of yarn also needs to be in the corresponding.

Yarn-env.sh

Modify it in yarn-daemon.sh.

The same is true of hbase.

Corresponding hbase-env.sh hbase-daemon.sh

Another place where hosts are needed is log4j.properties under the conf directory.

There is also a configuration about the log level.

There is a configuration if you also want to change to warn level, then modify it here.

Then restart it.

Thank you for your reading, the above is the content of "what is the modulation method of hadoop log level". After the study of this article, I believe you have a deeper understanding of what the modulation method of hadoop log level is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Levels logs methods modulation configuration learning content place that is hosts variables ideas situations documents articles more environment directories knowledge knowledge points Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MariaDB Microsoft Apple Shulou Technology