1
0
forked from docs/doc-exports
Yang, Tong 3f5759eed2 MRS comp-lts 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2023-01-19 17:08:45 +00:00

5.5 KiB

Configuring the Localized Log Levels

Scenarios

The default log level of localized container is INFO. You can change the log level by configuring yarn.nodemanager.container-localizer.java.opts.

Configuration Description

On Manager, choose Cluster > Name of the desired cluster > Service > Yarn > Configuration. Select All Configurations and set the following parameters in the configuration file yarn-site.xml of NodeManager to change the log level.

Table 1 Parameter description

Parameter

Description

Default Value

yarn.nodemanager.container-localizer.java.opts

The additional jvm parameters are provided for the localized container process.

-Xmx256m -Djava.security.krb5.conf=${KRB5_CONFIG}

The default value is -Xmx256m -Djava.security.krb5.conf=${KRB5_CONFIG} and the default log level is info. To change the localized log level of the container, add the following content:

-Dhadoop.root.logger=<LOG_LEVEL>,localizationCLA

Example:

To change the local log level to DEBUG, set the parameter as follows:

-Xmx256m -Dhadoop.root.logger=DEBUG,localizationCLA

Allowed log levels are as follows: FATAL, ERROR, WARN, INFO, DEBUG, TRACE, and ALL.