Browse Source

HADOOP-2313. Fail the build if building libhdfs fails. Contributed by Nigel.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@602252 13f79535-47bb-0310-9956-ffa450edef68
Owen O'Malley 17 years ago
parent
commit
16b864e01f
2 changed files with 3 additions and 1 deletions
  1. 2 0
      CHANGES.txt
  2. 1 1
      build.xml

+ 2 - 0
CHANGES.txt

@@ -221,6 +221,8 @@ Trunk (unreleased changes)
     HADOOP-2271.  Fix chmod task to be non-parallel. (Adrian Woodhead via
     omalley)
 
+    HADOOP-2313.  Fail the build if building libhdfs fails. (nigel via omalley)
+
 Branch 0.15 (unreleased)
 
   BUG FIXES

+ 1 - 1
build.xml

@@ -791,7 +791,7 @@
   <!-- ================================================================== -->
   <target name="compile-libhdfs" depends="init">
     <mkdir dir="${build.libhdfs}"/>
-    <exec dir="${libhdfs.src}" executable="make">
+    <exec dir="${libhdfs.src}" executable="make" failonerror="true">
       <env key="OS_NAME" value="${os.name}"/>
       <env key="OS_ARCH" value="${os.arch}"/>
       <env key="SHLIB_VERSION" value="${libhdfs.version}"/>