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 3F9E56DC8 for ; Wed, 8 Jun 2011 00:32:20 +0000 (UTC) Received: (qmail 40967 invoked by uid 500); 8 Jun 2011 00:32:20 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 40940 invoked by uid 500); 8 Jun 2011 00:32:20 -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 40926 invoked by uid 99); 8 Jun 2011 00:32:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 00:32:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 08 Jun 2011 00:32:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E8FED104313 for ; Wed, 8 Jun 2011 00:31:58 +0000 (UTC) Date: Wed, 8 Jun 2011 00:31:58 +0000 (UTC) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1674466862.1885.1307493118951.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1891142178.2392.1307401678992.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2040) Only build libhdfs if a flag is passed 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-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045720#comment-13045720 ] Eli Collins commented on HDFS-2040: ----------------------------------- bq. Is there another patch to remove ${build.platform} from the c++ library build? Nope. bq. Otherwise ${build.platform} should be preserved. Why? c++/lib is a link to c++/${build.platform}/lib, the idea for this link is to not have to worry about the build.platform in all the places we want to point to the c++ lib. > Only build libhdfs if a flag is passed > -------------------------------------- > > Key: HDFS-2040 > URL: https://issues.apache.org/jira/browse/HDFS-2040 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 0.23.0 > Reporter: Eli Collins > Assignee: Eli Collins > Priority: Minor > Fix For: 0.23.0 > > Attachments: hdfs-2040-1.patch > > > In HDFS-2022 we made ant binary build libhdfs unconditionally, this is a pain for users who now need to get the native toolchain working to create a tarball to test a change, and inconsistent with common and MR (see MAPREDUCE-2559) which only build native code if a flag is passed. Let's revert to the previous behavior of requiring -Dlibhdfs be passed at build time. We could also create a new ant target that doesn't build the native code, however restoring the old behavior seems simplest. > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira