[
https://issues.apache.org/jira/browse/HDFS-15720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang resolved HDFS-15720.
------------------------------------
Fix Version/s: 3.2.3
3.1.5
3.3.1
Resolution: Fixed
Thanks. This is merged and cherrypicked to branch-3.3 ~branch-3.1.
> namenode audit async logger should add some log4j config
> --------------------------------------------------------
>
> Key: HDFS-15720
> URL: https://issues.apache.org/jira/browse/HDFS-15720
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Affects Versions: 3.3.0
> Environment: hadoop 3.3.0
> Reporter: Max Xie
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.3.1, 3.1.5, 3.2.3
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> Hadoop project use log4j 1.2.x, we can't config some properties of logger in
> log4j.properties file , For example, AsyncAppender BufferSize and Blocking
> see https://logging.apache.org/log4j/1.2/apidocs/index.html.
> Namenode should add some audit async logger log4j config In order to
> facilitate the adjustment of log4j usage and audit log output performance
> adjustment.
> The new configuration is as follows
> dfs.namenode.audit.log.async.blocking false
> dfs.namenode.audit.log.async.buffer.size 128
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]