hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Sun (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 Wed, 27 Jun 2018 20:32:00 GMT

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

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

Attached patch v000 on [~lqjack]'s behalf. Verified on my side that it works.

> 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
>         Attachments: HADOOP-15410.000.patch
>
>
> 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