hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2040) Only build libhdfs if a flag is passed
Date Mon, 06 Jun 2011 23:09:59 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eli Collins updated HDFS-2040:
------------------------------

    Attachment: hdfs-2040-1.patch

Patch attached:
* Removes the auto-setting of libhdfs
* Modifies bin-package to work even if the lib dir does not exist (eg because libhdfs has
not been build), and to use the platform-agnostic lib symlink

> 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

Mime
View raw message