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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
