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 "Chao Sun (JIRA)" <ji...@apache.org> on 2018/06/26 01:16:00 UTC

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

    [ https://issues.apache.org/jira/browse/HADOOP-15410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523026#comment-16523026 ] 

Chao Sun commented on HADOOP-15410:
-----------------------------------

We also encountered this issue, which makes running/debugging unit tests quite annoying. Not sure why more people haven't reported this.

[~lqjack]: can you submit a patch for the fix? in the Hadoop world we use patch instead of pull request.

> 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
>            Priority: Major
>
> 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