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

Update scope of log4j in hadoop-auth to provided

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      When run the org.apache.hadoop.security.authentication.util.TestZKSignerSecretProvider , IDE will automatic compile the java class , but unlucky org.apache.log4j compile failed.

      should change the pom.xml
      <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <scope>runtime</scope>
      </dependency>

      to

      <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <scope>compile</scope>
      </dependency>

        Attachments

        1. HADOOP-15410.000.patch
          0.5 kB
          Chao Sun

          Activity

            People

            • Assignee:
              Jack-Lee lqjacklee
              Reporter:
              lqjack lqjack
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: