Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10730

Please upgrade log4j to log4j2

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.3.0, 3.2.1, 3.2.2
    • None
    • api, applications, client
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: