[
https://issues.apache.org/jira/browse/YARN-9342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16784682#comment-16784682
]
Eric Yang edited comment on YARN-9342 at 3/5/19 5:30 PM:
---------------------------------------------------------
Log4j 2 API is very different from Log4j 1.x. This may require a major version
change in Hadoop to implement this. It depends on the outcome of HADOOP-12956
to see if slf4j to log4j 2 can appear as backward compatible.
was (Author: eyang):
Log4j 2 API is very different from Log4j 1.x. This may require a major version
change in Hadoop to implement this.
> Moving log4j1 to log4j2 in hadoop-yarn
> --------------------------------------
>
> Key: YARN-9342
> URL: https://issues.apache.org/jira/browse/YARN-9342
> Project: Hadoop YARN
> Issue Type: Improvement
> Affects Versions: 3.1.2
> Reporter: Prabhu Joseph
> Assignee: Prabhu Joseph
> Priority: Major
>
> 1. Log4j2 Asynchronous Logging will give significant improvement in the
> performance.
> 2. Log4j2 does not have below locking issue which Log4j1 has.
> {code}
> "Thread-16" #40 daemon prio=5 os_prio=0 tid=0x00007f181f9bb800 nid=0x125
> waiting for monitor entry [0x00007ef163bab000]
> java.lang.Thread.State: BLOCKED (on object monitor)
> at org.apache.log4j.Category.callAppenders(Category.java:204)
> - locked <0x00007ef2d803e2b8> (a org.apache.log4j.spi.RootLogger)
> at org.apache.log4j.Category.forcedLog(Category.java:391)
> at org.apache.log4j.Category.log(Category.java:856)
> at
> org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:176)
> {code}
> https://bz.apache.org/bugzilla/show_bug.cgi?id=57714
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]