hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Graves (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HDFS-2690) trunk doesn't build on clean of .m2 - /bkjournal/pom.xml error
Date Fri, 16 Dec 2011 01:23:30 GMT

     [ 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

        

Mime
View raw message