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 23CA84BAA for ; Mon, 6 Jun 2011 23:08:22 +0000 (UTC) Received: (qmail 7013 invoked by uid 500); 6 Jun 2011 23:08:22 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 6978 invoked by uid 500); 6 Jun 2011 23:08:22 -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 6969 invoked by uid 99); 6 Jun 2011 23:08:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 23:08:21 +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; Mon, 06 Jun 2011 23:08: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 F3371104BCE for ; Mon, 6 Jun 2011 23:07:58 +0000 (UTC) Date: Mon, 6 Jun 2011 23:07:58 +0000 (UTC) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1891142178.2392.1307401678992.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 X-Virus-Checked: Checked by ClamAV on apache.org 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 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