Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17632

Please upgrade the log4j dependency to log4j2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.3.0
    • None
    • common
    • None

    Description

      The log4j dependency being use by hadoop-common is currently version 1.2.17. Our fortify scan picked up a couple of issues with this dependency. Please upgrade 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.

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hxhefx helen huang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: