You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by om...@apache.org on 2007/12/07 23:33:19 UTC
svn commit: r602252 - in /lucene/hadoop/trunk: CHANGES.txt build.xml
Author: omalley
Date: Fri Dec 7 14:33:18 2007
New Revision: 602252
URL: http://svn.apache.org/viewvc?rev=602252&view=rev
Log:
HADOOP-2313. Fail the build if building libhdfs fails. Contributed by Nigel.
Modified:
lucene/hadoop/trunk/CHANGES.txt
lucene/hadoop/trunk/build.xml
Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=602252&r1=602251&r2=602252&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Dec 7 14:33:18 2007
@@ -221,6 +221,8 @@
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
Modified: lucene/hadoop/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/build.xml?rev=602252&r1=602251&r2=602252&view=diff
==============================================================================
--- lucene/hadoop/trunk/build.xml (original)
+++ lucene/hadoop/trunk/build.xml Fri Dec 7 14:33:18 2007
@@ -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}"/>