You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/03/22 06:53:35 UTC
[GitHub] [hadoop] aajisaka commented on issue #299: Support Log4j 2 and
Logback
aajisaka commented on issue #299: Support Log4j 2 and Logback
URL: https://github.com/apache/hadoop/pull/299#issuecomment-475513092
Thanks @rogers for the PR.
After applying the patch, `mvn install -DskipTests` fails.
```
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project hadoop-hdfs-client: Compilation failure: Compilation failure:
[ERROR] /Users/aajisaka/git/ghe.corp/hadoop-mirror/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/util/TestByteArrayManager.java:[27,24] cannot find symbol
[ERROR] symbol: class Level
[ERROR] location: package org.apache.log4j
[ERROR] /Users/aajisaka/git/ghe.corp/hadoop-mirror/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConfiguredFailoverProxyProvider.java:[88,21] cannot access org.apache.log4j.Logger
[ERROR] class file for org.apache.log4j.Logger not found
```
This is because many modules in Apache Hadoop call log4j1 API directly. We need to remove the caller at all the projects.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org