hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-13961) mvn install fails on trunk
Date Tue, 10 Jan 2017 21:46:58 GMT

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

John Zhuge edited comment on HADOOP-13961 at 1/10/17 9:46 PM:
--------------------------------------------------------------

+1 (non-binding) on Sanglin's patch 002.

Testing done
* Existing source tree
## rm -fr ~/.m2/repository/
## ( cd hadoop-maven-plugins/ && mvn install )
## mvn clean
## mvn install -DskipTests -Dmaven.javadoc.skip -Pnative
* New source tree
## rm -fr ~/.m2/repository/
## mvn install -DskipTests -Dmaven.javadoc.skip -Pnative

I also tried to move MiniKMS from test to main, the pom files would be cleaner, but it also
required moving several test resource files. I think patch 002 is fine.


was (Author: jzhuge):
+1 (non-binding) on Sanglin's patch 002.

Testing #1 existing source tree
# rm -fr ~/.m2/repository/
# ( cd hadoop-maven-plugins/ && mvn install )
# mvn clean
# mvn install -DskipTests -Dmaven.javadoc.skip -Pnative

Testing #2 new source tree
# rm -fr ~/.m2/repository/
# mvn install -DskipTests -Dmaven.javadoc.skip -Pnative

I also tried to move MiniKMS from test to main, the pom files would be cleaner, but it also
required moving several test resource files. I think patch 002 is fine.

> mvn install fails on trunk
> --------------------------
>
>                 Key: HADOOP-13961
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13961
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Karthik Kambatla
>            Assignee: John Zhuge
>            Priority: Blocker
>         Attachments: HADOOP-13961.001.patch, HADOOP-13961.002.patch
>
>
> mvn install fails for me on trunk on a new environment with the following:
> {noformat}
> [ERROR] Failed to execute goal on project hadoop-hdfs: Could not resolve dependencies
for project org.apache.hadoop:hadoop-hdfs:jar:3.0.0-alpha2-SNAPSHOT: Could not find artifact
org.apache.hadoop:hadoop-kms:jar:classes:3.0.0-alpha2-20161228.102554-925 in apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots) -> [Help 1]
> {noformat}
> This works on an existing dev setup, likely because I have the jar in my m2 cache. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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