You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Thomas Graves (Created) (JIRA)" <ji...@apache.org> on 2011/12/15 23:17:32 UTC
[jira] [Created] (HDFS-2690) trunk doesn't build on clean of .m2 -
/bkjournal/pom.xml error
trunk doesn't build on clean of .m2 - /bkjournal/pom.xml error
--------------------------------------------------------------
Key: HDFS-2690
URL: https://issues.apache.org/jira/browse/HDFS-2690
Project: Hadoop HDFS
Issue Type: Bug
Components: build
Affects Versions: 0.24.0
Reporter: Thomas Graves
Priority: Blocker
I cleaned my .m2 and did fresh checkout of trunk and I get the following error:
[tgraves@pvvirt10-pv1 trunk]$ mvn clean install -Pdist -Dtar
/home/y/libexec/maven/bin/mvn clean install -Pdist -Dtar
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.hadoop.contrib:hadoop-hdfs-bkjournal:0.24.0-SNAPSHOT (/home/tgraves/testpatch/trunk/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.apache.hadoop:hadoop-project-dist:pom:0.24.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 17, column 11 -> [Help 2]
[ERROR]
It seems the bkournal/pom.xml has the wrong path to the parent pom.xml, adding another ../ to the relativePath in the pom seems to fix the issue.
--- hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (revision 1214962)
+++ hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (working copy)
@@ -18,7 +18,7 @@
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-project-dist</artifactId>
<version>0.24.0-SNAPSHOT</version>
- <relativePath>../../../../hadoop-project-dist</relativePath>
+ <relativePath>../../../../../hadoop-project-dist</relativePath>
</parent>
<groupId>org.apache.hadoop.contrib</groupId>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2690) trunk doesn't build on clean of .m2
- /bkjournal/pom.xml error
Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192369#comment-13192369 ]
Jitendra Nath Pandey commented on HDFS-2690:
--------------------------------------------
+1.
> trunk doesn't build on clean of .m2 - /bkjournal/pom.xml error
> --------------------------------------------------------------
>
> Key: HDFS-2690
> URL: https://issues.apache.org/jira/browse/HDFS-2690
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.24.0
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Priority: Blocker
> Attachments: HDFS-2690.patch
>
>
> I cleaned my .m2 and did fresh checkout of trunk and I get the following error:
> [tgraves@pvvirt10-pv1 trunk]$ mvn clean install -Pdist -Dtar
> /home/y/libexec/maven/bin/mvn clean install -Pdist -Dtar
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.apache.hadoop.contrib:hadoop-hdfs-bkjournal:0.24.0-SNAPSHOT (/home/tgraves/testpatch/trunk/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.hadoop:hadoop-project-dist:pom:0.24.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 17, column 11 -> [Help 2]
> [ERROR]
> It seems the bkournal/pom.xml has the wrong path to the parent pom.xml, adding another ../ to the relativePath in the pom seems to fix the issue.
> --- hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (revision 1214962)
> +++ hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (working copy)
> @@ -18,7 +18,7 @@
> <groupId>org.apache.hadoop</groupId>
> <artifactId>hadoop-project-dist</artifactId>
> <version>0.24.0-SNAPSHOT</version>
> - <relativePath>../../../../hadoop-project-dist</relativePath>
> + <relativePath>../../../../../hadoop-project-dist</relativePath>
> </parent>
>
> <groupId>org.apache.hadoop.contrib</groupId>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-2690) trunk doesn't build on clean of .m2 -
/bkjournal/pom.xml error
Posted by "Jitendra Nath Pandey (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HDFS-2690:
---------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Fixed by HDFS-234.
> trunk doesn't build on clean of .m2 - /bkjournal/pom.xml error
> --------------------------------------------------------------
>
> Key: HDFS-2690
> URL: https://issues.apache.org/jira/browse/HDFS-2690
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.24.0
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Priority: Blocker
> Attachments: HDFS-2690.patch
>
>
> I cleaned my .m2 and did fresh checkout of trunk and I get the following error:
> [tgraves@pvvirt10-pv1 trunk]$ mvn clean install -Pdist -Dtar
> /home/y/libexec/maven/bin/mvn clean install -Pdist -Dtar
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.apache.hadoop.contrib:hadoop-hdfs-bkjournal:0.24.0-SNAPSHOT (/home/tgraves/testpatch/trunk/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.hadoop:hadoop-project-dist:pom:0.24.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 17, column 11 -> [Help 2]
> [ERROR]
> It seems the bkournal/pom.xml has the wrong path to the parent pom.xml, adding another ../ to the relativePath in the pom seems to fix the issue.
> --- hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (revision 1214962)
> +++ hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (working copy)
> @@ -18,7 +18,7 @@
> <groupId>org.apache.hadoop</groupId>
> <artifactId>hadoop-project-dist</artifactId>
> <version>0.24.0-SNAPSHOT</version>
> - <relativePath>../../../../hadoop-project-dist</relativePath>
> + <relativePath>../../../../../hadoop-project-dist</relativePath>
> </parent>
>
> <groupId>org.apache.hadoop.contrib</groupId>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HDFS-2690) trunk doesn't build on clean of .m2 -
/bkjournal/pom.xml error
Posted by "Thomas Graves (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Graves reassigned HDFS-2690:
-----------------------------------
Assignee: Thomas Graves
> trunk doesn't build on clean of .m2 - /bkjournal/pom.xml error
> --------------------------------------------------------------
>
> Key: HDFS-2690
> URL: https://issues.apache.org/jira/browse/HDFS-2690
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.24.0
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Priority: Blocker
> Attachments: HDFS-2690.patch
>
>
> I cleaned my .m2 and did fresh checkout of trunk and I get the following error:
> [tgraves@pvvirt10-pv1 trunk]$ mvn clean install -Pdist -Dtar
> /home/y/libexec/maven/bin/mvn clean install -Pdist -Dtar
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.apache.hadoop.contrib:hadoop-hdfs-bkjournal:0.24.0-SNAPSHOT (/home/tgraves/testpatch/trunk/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.hadoop:hadoop-project-dist:pom:0.24.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 17, column 11 -> [Help 2]
> [ERROR]
> It seems the bkournal/pom.xml has the wrong path to the parent pom.xml, adding another ../ to the relativePath in the pom seems to fix the issue.
> --- hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (revision 1214962)
> +++ hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (working copy)
> @@ -18,7 +18,7 @@
> <groupId>org.apache.hadoop</groupId>
> <artifactId>hadoop-project-dist</artifactId>
> <version>0.24.0-SNAPSHOT</version>
> - <relativePath>../../../../hadoop-project-dist</relativePath>
> + <relativePath>../../../../../hadoop-project-dist</relativePath>
> </parent>
>
> <groupId>org.apache.hadoop.contrib</groupId>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2690) trunk doesn't build on clean of .m2
- /bkjournal/pom.xml error
Posted by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199135#comment-13199135 ]
Jitendra Nath Pandey commented on HDFS-2690:
--------------------------------------------
I think this is not needed anymore. HDFS-234 already fixed it.
> trunk doesn't build on clean of .m2 - /bkjournal/pom.xml error
> --------------------------------------------------------------
>
> Key: HDFS-2690
> URL: https://issues.apache.org/jira/browse/HDFS-2690
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.24.0
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Priority: Blocker
> Attachments: HDFS-2690.patch
>
>
> I cleaned my .m2 and did fresh checkout of trunk and I get the following error:
> [tgraves@pvvirt10-pv1 trunk]$ mvn clean install -Pdist -Dtar
> /home/y/libexec/maven/bin/mvn clean install -Pdist -Dtar
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.apache.hadoop.contrib:hadoop-hdfs-bkjournal:0.24.0-SNAPSHOT (/home/tgraves/testpatch/trunk/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.hadoop:hadoop-project-dist:pom:0.24.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 17, column 11 -> [Help 2]
> [ERROR]
> It seems the bkournal/pom.xml has the wrong path to the parent pom.xml, adding another ../ to the relativePath in the pom seems to fix the issue.
> --- hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (revision 1214962)
> +++ hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (working copy)
> @@ -18,7 +18,7 @@
> <groupId>org.apache.hadoop</groupId>
> <artifactId>hadoop-project-dist</artifactId>
> <version>0.24.0-SNAPSHOT</version>
> - <relativePath>../../../../hadoop-project-dist</relativePath>
> + <relativePath>../../../../../hadoop-project-dist</relativePath>
> </parent>
>
> <groupId>org.apache.hadoop.contrib</groupId>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-2690) trunk doesn't build on clean of .m2 -
/bkjournal/pom.xml error
Posted by "Thomas Graves (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Graves updated HDFS-2690:
--------------------------------
Attachment: HDFS-2690.patch
> trunk doesn't build on clean of .m2 - /bkjournal/pom.xml error
> --------------------------------------------------------------
>
> Key: HDFS-2690
> URL: https://issues.apache.org/jira/browse/HDFS-2690
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.24.0
> Reporter: Thomas Graves
> Priority: Blocker
> Attachments: HDFS-2690.patch
>
>
> I cleaned my .m2 and did fresh checkout of trunk and I get the following error:
> [tgraves@pvvirt10-pv1 trunk]$ mvn clean install -Pdist -Dtar
> /home/y/libexec/maven/bin/mvn clean install -Pdist -Dtar
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.apache.hadoop.contrib:hadoop-hdfs-bkjournal:0.24.0-SNAPSHOT (/home/tgraves/testpatch/trunk/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.hadoop:hadoop-project-dist:pom:0.24.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 17, column 11 -> [Help 2]
> [ERROR]
> It seems the bkournal/pom.xml has the wrong path to the parent pom.xml, adding another ../ to the relativePath in the pom seems to fix the issue.
> --- hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (revision 1214962)
> +++ hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (working copy)
> @@ -18,7 +18,7 @@
> <groupId>org.apache.hadoop</groupId>
> <artifactId>hadoop-project-dist</artifactId>
> <version>0.24.0-SNAPSHOT</version>
> - <relativePath>../../../../hadoop-project-dist</relativePath>
> + <relativePath>../../../../../hadoop-project-dist</relativePath>
> </parent>
>
> <groupId>org.apache.hadoop.contrib</groupId>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-2690) trunk doesn't build on clean of .m2 -
/bkjournal/pom.xml error
Posted by "Thomas Graves (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Graves updated HDFS-2690:
--------------------------------
Status: Patch Available (was: Open)
> trunk doesn't build on clean of .m2 - /bkjournal/pom.xml error
> --------------------------------------------------------------
>
> Key: HDFS-2690
> URL: https://issues.apache.org/jira/browse/HDFS-2690
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Affects Versions: 0.24.0
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Priority: Blocker
> Attachments: HDFS-2690.patch
>
>
> I cleaned my .m2 and did fresh checkout of trunk and I get the following error:
> [tgraves@pvvirt10-pv1 trunk]$ mvn clean install -Pdist -Dtar
> /home/y/libexec/maven/bin/mvn clean install -Pdist -Dtar
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project org.apache.hadoop.contrib:hadoop-hdfs-bkjournal:0.24.0-SNAPSHOT (/home/tgraves/testpatch/trunk/hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml) has 1 error
> [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.hadoop:hadoop-project-dist:pom:0.24.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 17, column 11 -> [Help 2]
> [ERROR]
> It seems the bkournal/pom.xml has the wrong path to the parent pom.xml, adding another ../ to the relativePath in the pom seems to fix the issue.
> --- hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (revision 1214962)
> +++ hadoop-hdfs-project/hadoop-hdfs/src/contrib/bkjournal/pom.xml (working copy)
> @@ -18,7 +18,7 @@
> <groupId>org.apache.hadoop</groupId>
> <artifactId>hadoop-project-dist</artifactId>
> <version>0.24.0-SNAPSHOT</version>
> - <relativePath>../../../../hadoop-project-dist</relativePath>
> + <relativePath>../../../../../hadoop-project-dist</relativePath>
> </parent>
>
> <groupId>org.apache.hadoop.contrib</groupId>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira