hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Appy (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-19422) Exclude dependency on com.google.code.findbugs.jsr305
Date Mon, 04 Dec 2017 22:35:00 GMT

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

Appy edited comment on HBASE-19422 at 12/4/17 10:34 PM:
--------------------------------------------------------

On my local machine, following diff and running {{mvn clean install -DskipTests -Dhadoop.profile=3.0}}
goes past hbase-client build (i killed it after that).
{noformat}
diff --git a/pom.xml b/pom.xml
index 53aa115ba3..7c8522af84 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1396,7 +1396,7 @@
     <java.min.version>${compileSource}</java.min.version>
     <!-- Dependencies -->
     <hadoop-two.version>2.7.4</hadoop-two.version>
-    <hadoop-three.version>3.0.0-alpha4</hadoop-three.version>
+    <hadoop-three.version>3.0.0-beta1</hadoop-three.version>
     <!-- These must be defined here for downstream build tools that don't look at profiles.
          They ought to match the values found in our default hadoop profile, which is
          currently "hadoop-2.0". See HBASE-15925 for more info. -->
{noformat}

Edit: And this is relevant part of dependency tree on running {{mvn dependency:tree -Dhadoop.profile=3.0
-pl hbase-client}}
{noformat}
+- org.apache.hadoop:hadoop-auth:jar:3.0.0-beta1:compile
|  +- org.apache.httpcomponents:httpclient:jar:4.5.3:compile
|  |  \- org.apache.httpcomponents:httpcore:jar:4.4.6:compile
|  +- com.nimbusds:nimbus-jose-jwt:jar:4.41.1:compile
|  |  +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
|  |  \- net.minidev:json-smart:jar:2.3:compile (version selected from constraint [1.3.1,2.3])
|  |     \- net.minidev:accessors-smart:jar:1.2:compile
|  |        \- org.ow2.asm:asm:jar:5.0.4:compile
|  +- org.apache.curator:curator-framework:jar:4.0.0:compile
|  \- org.apache.kerby:kerb-simplekdc:jar:1.0.1:compile
|     +- org.apache.kerby:kerb-client:jar:1.0.1:compile
|     |  +- org.apache.kerby:kerby-config:jar:1.0.1:compile
|     |  +- org.apache.kerby:kerb-core:jar:1.0.1:compile
|     |  |  \- org.apache.kerby:kerby-pkix:jar:1.0.1:compile
|     |  |     +- org.apache.kerby:kerby-asn1:jar:1.0.1:compile
|     |  |     \- org.apache.kerby:kerby-util:jar:1.0.1:compile
|     |  +- org.apache.kerby:kerb-common:jar:1.0.1:compile
|     |  |  \- org.apache.kerby:kerb-crypto:jar:1.0.1:compile
|     |  +- org.apache.kerby:kerb-util:jar:1.0.1:compile
|     |  \- org.apache.kerby:token-provider:jar:1.0.1:compile
|     \- org.apache.kerby:kerb-admin:jar:1.0.1:compile
|        +- org.apache.kerby:kerb-server:jar:1.0.1:compile
|        |  \- org.apache.kerby:kerb-identity:jar:1.0.1:compile
|        \- org.apache.kerby:kerby-xdr:jar:1.0.1:compile
+- org.apache.hadoop:hadoop-common:jar:3.0.0-beta1:compile
|  +- org.apache.hadoop:hadoop-annotations:jar:3.0.0-beta1:c
{noformat}


was (Author: appy):
On my local machine, following diff and running {{mvn clean install -DskipTests -Dhadoop.profile=3.0}}
goes past hbase-client build (i killed it after that).
{noformat}
diff --git a/pom.xml b/pom.xml
index 53aa115ba3..7c8522af84 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1396,7 +1396,7 @@
     <java.min.version>${compileSource}</java.min.version>
     <!-- Dependencies -->
     <hadoop-two.version>2.7.4</hadoop-two.version>
-    <hadoop-three.version>3.0.0-alpha4</hadoop-three.version>
+    <hadoop-three.version>3.0.0-beta1</hadoop-three.version>
     <!-- These must be defined here for downstream build tools that don't look at profiles.
          They ought to match the values found in our default hadoop profile, which is
          currently "hadoop-2.0". See HBASE-15925 for more info. -->
{noformat}


> Exclude dependency on com.google.code.findbugs.jsr305
> -----------------------------------------------------
>
>                 Key: HBASE-19422
>                 URL: https://issues.apache.org/jira/browse/HBASE-19422
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 19422.v1.txt
>
>
> When building master branch against hadoop 3 beta1,
> {code}
> mvn clean install -Dhadoop-profile=3.0 -Dhadoop-three.version=3.0.0-beta1 -Dhadoop-two.version=3.0.0-beta1
-DskipTests
> {code}
> I got:
> {code}
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
> We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.
> Found Banned Dependency: com.google.code.findbugs:jsr305:jar:1.3.9
> {code}
> Here is part of the dependency tree showing the dependency:
> {code}
> [INFO] org.apache.hbase:hbase-client:jar:3.0.0-SNAPSHOT
> ...
> [INFO] +- org.apache.hadoop:hadoop-auth:jar:3.0.0-beta1:compile
> ...
> [INFO] |  \- com.google.guava:guava:jar:11.0.2:compile
> [INFO] |     \- com.google.code.findbugs:jsr305:jar:1.3.9:compile
> {code}
> We need to exclude jsr305 so that build succeed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message