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

Update scope of log4j in hadoop-auth to provided

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment