You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "lqjack (JIRA)" <ji...@apache.org> on 2018/04/24 16:00:00 UTC

[jira] [Created] (HADOOP-15410) hoop-auth org.apache.hadoop.security.authentication.util.TestZKSignerSecretProvider org.apache.log4j package compile error

lqjack created HADOOP-15410:
-------------------------------

             Summary: hoop-auth org.apache.hadoop.security.authentication.util.TestZKSignerSecretProvider org.apache.log4j package compile error
                 Key: HADOOP-15410
                 URL: https://issues.apache.org/jira/browse/HADOOP-15410
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 2.9.0
            Reporter: lqjack


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>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org