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 "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/04/12 12:54:00 UTC

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

    [ https://issues.apache.org/jira/browse/HDFS-15965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17319447#comment-17319447 ] 

Viraj Jasani commented on HDFS-15965:
-------------------------------------

This is already being discussed on HADOOP-16206

> 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.3.0, 3.2.1, 3.2.2
>            Reporter: helen huang
>            Priority: Major
>             Fix For: 3.3.0, 3.4.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