Repository: incubator-impala
Updated Branches:
  refs/heads/master 1909ce2d7 -> 39e01abcf


Minor enhancements to helper scripts.

- run-all-tests.sh: survive non-fatal failures when calling ulimit.
- copy-udfs-udas.sh: respect $MAKE_CMD instead of blindly using make.

Change-Id: Ic90bd0048786c799a8ac435de4303ed399ac1223
Reviewed-on: http://gerrit.cloudera.org:8080/4304
Reviewed-by: Tim Armstrong <[email protected]>
Tested-by: Internal Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/b35689d7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/b35689d7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/b35689d7

Branch: refs/heads/master
Commit: b35689d7d9a32029fd0766c5a140dbaf58177f8e
Parents: 1909ce2
Author: Zoltan Ivanfi <[email protected]>
Authored: Fri Sep 2 20:50:15 2016 +0200
Committer: Internal Jenkins <[email protected]>
Committed: Mon Sep 5 15:17:22 2016 +0000

----------------------------------------------------------------------
 bin/run-all-tests.sh           | 2 +-
 testdata/bin/copy-udfs-udas.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b35689d7/bin/run-all-tests.sh
----------------------------------------------------------------------
diff --git a/bin/run-all-tests.sh b/bin/run-all-tests.sh
index 7d68216..728c0e5 100755
--- a/bin/run-all-tests.sh
+++ b/bin/run-all-tests.sh
@@ -101,7 +101,7 @@ fi
 LOG_DIR="${IMPALA_EE_TEST_LOGS_DIR}"
 
 # Enable core dumps
-ulimit -c unlimited
+ulimit -c unlimited || true
 
 if [[ "${TARGET_FILESYSTEM}" == "hdfs" ]]; then
   # To properly test HBase integeration, HBase regions are split and assigned 
by this

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/b35689d7/testdata/bin/copy-udfs-udas.sh
----------------------------------------------------------------------
diff --git a/testdata/bin/copy-udfs-udas.sh b/testdata/bin/copy-udfs-udas.sh
index 814973a..4440db1 100755
--- a/testdata/bin/copy-udfs-udas.sh
+++ b/testdata/bin/copy-udfs-udas.sh
@@ -48,7 +48,7 @@ done
 if [ $BUILD -eq 1 ]
 then
   pushd $IMPALA_HOME
-  make -j$CORES \
+  "${MAKE_CMD:-make}" "-j${IMPALA_BUILD_THREADS:-4}" \
       TestUdas TestUdfs test-udfs-ir udfsample udasample udf-sample-ir 
uda-sample-ir
   cd $IMPALA_HOME/tests/test-hive-udfs
   ${IMPALA_HOME}/bin/mvn-quiet.sh package

Reply via email to