[jira] [Comment Edited] (HADOOP-13961) mvn install fails on trunk

2017-01-10 Thread John Zhuge (JIRA)

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

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

+1 (non-binding) on Sangjin'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 moving MiniKMS from test to main, the pom files would be cleaner, 
but several test resource files had to be moved as well. I think patch 002 is 
fine.


was (Author: jzhuge):
+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.

> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-13961) mvn install fails on trunk

2017-01-10 Thread John Zhuge (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-13961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-13961) mvn install fails on trunk

2017-01-09 Thread John Zhuge (JIRA)

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

John Zhuge edited comment on HADOOP-13961 at 1/9/17 5:44 PM:
-

Reverting HADOOP-13597 does not fix my {{mvn clean}} issue.


was (Author: jzhuge):
Reverting HADOOP-13597 does not fix the issue.

> 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
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-13961) mvn install fails on trunk

2017-01-09 Thread John Zhuge (JIRA)

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

John Zhuge edited comment on HADOOP-13961 at 1/9/17 4:03 PM:
-

Reverting HADOOP-13597 does not fix the issue.


was (Author: jzhuge):
The issue is not fixed after reverting HADOOP-13597.

> 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
>Priority: Blocker
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Comment Edited] (HADOOP-13961) mvn install fails on trunk

2017-01-08 Thread John Zhuge (JIRA)

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

John Zhuge edited comment on HADOOP-13961 at 1/9/17 5:48 AM:
-

Got something really strange when trying to reproduce Karthik's issue:
* rm -fr ~/.m2/*, deleting everything including settings.xml
* git clean -f -d

{{mvn clean}} failed in {{hadoop-common}}. It has not reached {{hadoop-kms}} 
yet.
{noformat}
[ERROR] Plugin org.apache.hadoop:hadoop-maven-plugins:3.0.0-alpha2-SNAPSHOT
 or one of its dependencies could not be resolved: Could not find artifact 
org.apache.hadoop:hadoop-maven-plugins:jar:3.0.0-alpha2-SNAPSHOT -> [Help 1]
{noformat}


was (Author: jzhuge):
Got something really strange when trying to reproduce Karthik's issue:
* rm -fr ~/.m2/*, deleting everything including settings.xml
* git clean -f -d
* mvn clean

{noformat}
[ERROR] Plugin org.apache.hadoop:hadoop-maven-plugins:3.0.0-alpha2-SNAPSHOT or 
one of its dependencies could not be resolved: Could not find artifact 
org.apache.hadoop:hadoop-maven-plugins:jar:3.0.0-alpha2-SNAPSHOT -> [Help 1]
{noformat}

> 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
>Priority: Blocker
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org