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 5B5C16C8D for ; Wed, 8 Jun 2011 00:50:20 +0000 (UTC) Received: (qmail 56669 invoked by uid 500); 8 Jun 2011 00:50:20 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 56611 invoked by uid 500); 8 Jun 2011 00:50: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 56603 invoked by uid 99); 8 Jun 2011 00:50: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:50: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:50:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2CDC41047FD for ; Wed, 8 Jun 2011 00:49:59 +0000 (UTC) Date: Wed, 8 Jun 2011 00:49:59 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1250683445.1924.1307494199180.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=13045728#comment-13045728 ] Todd Lipcon commented on HDFS-2040: ----------------------------------- +1 > 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, hdfs-2040-2.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