Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 905629319 for ; Wed, 20 Jun 2012 19:10:43 +0000 (UTC) Received: (qmail 89064 invoked by uid 500); 20 Jun 2012 19:10:43 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 89006 invoked by uid 500); 20 Jun 2012 19:10:43 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 88851 invoked by uid 99); 20 Jun 2012 19:10:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 19:10:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 115AE14285F for ; Wed, 20 Jun 2012 19:10:43 +0000 (UTC) Date: Wed, 20 Jun 2012 19:10:43 +0000 (UTC) From: "Jason Lowe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1479566668.35514.1340219443073.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1829329228.35175.1340217043341.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HDFS-3549) dist tar build fails in hadoop-hdfs-raid project MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397786#comment-13397786 ] Jason Lowe commented on HDFS-3549: ---------------------------------- The problem only occurs on a build from a clean tree. If one builds without -Dtar it succeeds, and then subsequent builds with -Dtar will succeed since hadoop-hdfs-raid-3.0.0-SNAPSHOT will exist from a prior build. It appears to be an issue of ordering during the package phase. I thought Maven was supposed to preserve the relative order of plugins within a phase as they appear in the pom, but [this comment on MNG-2258|http://jira.codehaus.org/browse/MNG-2258?focusedCommentId=299149&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-299149] implies the ordering can still be wrong sometimes even after the fix in Maven 3.0.3. > dist tar build fails in hadoop-hdfs-raid project > ------------------------------------------------ > > Key: HDFS-3549 > URL: https://issues.apache.org/jira/browse/HDFS-3549 > Project: Hadoop HDFS > Issue Type: Bug > Components: build > Affects Versions: 3.0.0 > Reporter: Jason Lowe > Priority: Critical > > Trying to build the distribution tarball in a clean tree via {{mvn install -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip}} fails with this error: > {noformat} > main: > [exec] tar: hadoop-hdfs-raid-3.0.0-SNAPSHOT: Cannot stat: No such file or directory > [exec] tar: Exiting with failure status due to previous errors > {noformat} -- 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