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

Update scope of log4j in hadoop-auth to provided

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 3.3.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: