]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
build: hadoop should build examples target
authorJoe Buck <jbbuck@gmail.com>
Tue, 19 Feb 2013 00:53:36 +0000 (16:53 -0800)
committerJoe Buck <jbbuck@gmail.com>
Tue, 19 Feb 2013 01:00:37 +0000 (17:00 -0800)
The "examples" target builds both the core
jar and the examples jar (we need both for
our tests).

Signed-off-by: Joe Buck <jbbuck@gmail.com>
build-hadoop.sh

index 177e3af26589ddd079e6b909e172daed53145c5b..a7d86bcaaed30773ba3deb2a91ba9647d613c782 100755 (executable)
@@ -31,7 +31,7 @@ NCPU=$(( 2 * `grep -c processor /proc/cpuinfo` ))
 echo "$0: building..."
 echo --START-IGNORE-WARNINGS
 # filter out idl errors "Unable to determine origin..." to avoid gitbuilder failing
-ionice -c3 nice -n20 ant -Divy.default.ivy.user.dir=$CURRENT_DIR jar 2> >( eval ${HADOOP_ERRORS_IGNORE} ) || exit 4
+ionice -c3 nice -n20 ant -Divy.default.ivy.user.dir=$CURRENT_DIR examples 2> >( eval ${HADOOP_ERRORS_IGNORE} ) || exit 4
 
 OUTDIR_TMP="${OUTDIR}.tmp"