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

Reply via email to