You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "helen huang (Jira)" <ji...@apache.org> on 2021/04/11 13:36:00 UTC

[jira] [Created] (HDFS-15965) Please upgrade the log4j dependency to log4j2

helen huang created HDFS-15965:
----------------------------------

             Summary: Please upgrade the log4j dependency to log4j2
                 Key: HDFS-15965
                 URL: https://issues.apache.org/jira/browse/HDFS-15965
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: dfsclient
    Affects Versions: 3.2.2, 3.2.1, 3.3.0
            Reporter: helen huang
             Fix For: 3.4.0, 3.3.0


The log4j dependency being use by hadoop-common is currently version 1.2.17. Our fortify scan picked up a couple of issue with this dependency. Please update it to the latest version of log4j2 dependencies:


<dependency>
 <groupId>org.apache.logging.log4j</groupId>
 <artifactId>log4j-api</artifactId>
 <version>2.14.1</version>
</dependency>

<dependency>
 <groupId>org.apache.logging.log4j</groupId>
 <artifactId>log4j-core</artifactId>
 <version>2.14.1</version>
</dependency>

 

The slf4j dependency will need to be updated as well after you upgrade log4j to log4j2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org