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 EFDE771A4 for ; Mon, 8 Aug 2011 01:07:51 +0000 (UTC) Received: (qmail 19474 invoked by uid 500); 8 Aug 2011 01:07:51 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 19325 invoked by uid 500); 8 Aug 2011 01:07:51 -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 19315 invoked by uid 99); 8 Aug 2011 01:07:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 01:07:50 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2011 01:07:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 32BB7AF3BC for ; Mon, 8 Aug 2011 01:07:27 +0000 (UTC) Date: Mon, 8 Aug 2011 01:07:27 +0000 (UTC) From: "Konstantin Shvachko (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1311907984.15321.1312765647204.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1847130393.16989.1311894129940.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated HDFS-2214: -------------------------------------- Attachment: HDFS-2214.patch > Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT > --------------------------------------------------------------------------- > > Key: HDFS-2214 > URL: https://issues.apache.org/jira/browse/HDFS-2214 > Project: Hadoop HDFS > Issue Type: Bug > Components: build > Affects Versions: 0.22.0 > Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2 > Reporter: Joep Rottinghuis > Attachments: HDFS-2214.patch, HDFS-2214.patch > > > The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on. > When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar. > When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo. > Even during online build, it should compile against the hadoop-common that hdfs compiled against. > When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira