hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15410) hoop-auth org.apache.hadoop.security.authentication.util.TestZKSignerSecretProvider org.apache.log4j package compile error
Date Tue, 24 Apr 2018 18:32:00 GMT

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

Steve Loughran commented on HADOOP-15410:
-----------------------------------------

We don't want it at compile as then everyone downstream gets it, but they don't need it &
trying to force it in creates its own problems

what if you mark it as provided?

> 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


Mime
View raw message