impala-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [01/10] incubator-impala git commit: IMPALA-4544: ASAN should ignore SEGV and leaks
Date Wed, 26 Apr 2017 23:22:13 GMT
Repository: incubator-impala
Updated Branches:
  refs/heads/master 58b206ff0 -> 6cddb952c


IMPALA-4544: ASAN should ignore SEGV and leaks

The environment variable ASAN_OPTIONS had always bee set to
"handle_segv=0 detect_leaks=0" on Jenkins ASAN jobs in the pre-Apache
era, but this had slipped through the cracks.

Change-Id: I055aa25d5ca41419bf3fc8a30a8fb8774ab05b18
Reviewed-on: http://gerrit.cloudera.org:8080/6600
Reviewed-by: Jim Apple <jbapple-impala@apache.org>
Tested-by: Impala Public 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/72cf359f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/72cf359f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/72cf359f

Branch: refs/heads/master
Commit: 72cf359ff313ff4b79b76ac0089e00ed141c089b
Parents: 58b206f
Author: Jim Apple <jbapple-impala@apache.org>
Authored: Sat Apr 8 13:15:27 2017 -0700
Committer: Impala Public Jenkins <impala-public-jenkins@gerrit.cloudera.org>
Committed: Sat Apr 22 20:46:09 2017 +0000

----------------------------------------------------------------------
 bin/run-backend-tests.sh | 1 +
 bin/start-catalogd.sh    | 1 +
 bin/start-impalad.sh     | 1 +
 bin/start-statestored.sh | 1 +
 4 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/72cf359f/bin/run-backend-tests.sh
----------------------------------------------------------------------
diff --git a/bin/run-backend-tests.sh b/bin/run-backend-tests.sh
index 726db73..74f457d 100755
--- a/bin/run-backend-tests.sh
+++ b/bin/run-backend-tests.sh
@@ -37,6 +37,7 @@ cd ${IMPALA_BE_DIR}
 cd ..
 
 export CTEST_OUTPUT_ON_FAILURE=1
+export ASAN_OPTIONS="handle_segv=0 detect_leaks=0"
 export UBSAN_OPTIONS="print_stacktrace=1"
 UBSAN_OPTIONS="${UBSAN_OPTIONS} suppressions=${IMPALA_HOME}/bin/ubsan-suppressions.txt"
 export PATH="${IMPALA_TOOLCHAIN}/llvm-${IMPALA_LLVM_VERSION}/bin:${PATH}"

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/72cf359f/bin/start-catalogd.sh
----------------------------------------------------------------------
diff --git a/bin/start-catalogd.sh b/bin/start-catalogd.sh
index 18d2c6a..41da5df 100755
--- a/bin/start-catalogd.sh
+++ b/bin/start-catalogd.sh
@@ -70,6 +70,7 @@ if ${CLUSTER_DIR}/admin is_kerberized; then
 fi
 
 . ${IMPALA_HOME}/bin/set-classpath.sh
+export ASAN_OPTIONS="handle_segv=0 detect_leaks=0"
 export UBSAN_OPTIONS="print_stacktrace=1"
 UBSAN_OPTIONS="${UBSAN_OPTIONS} suppressions=${IMPALA_HOME}/bin/ubsan-suppressions.txt"
 export PATH="${IMPALA_TOOLCHAIN}/llvm-${IMPALA_LLVM_VERSION}/bin:${PATH}"

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/72cf359f/bin/start-impalad.sh
----------------------------------------------------------------------
diff --git a/bin/start-impalad.sh b/bin/start-impalad.sh
index a02b0ce..8eab812 100755
--- a/bin/start-impalad.sh
+++ b/bin/start-impalad.sh
@@ -103,6 +103,7 @@ if ${CLUSTER_DIR}/admin is_kerberized; then
 fi
 
 . ${IMPALA_HOME}/bin/set-classpath.sh
+export ASAN_OPTIONS="handle_segv=0 detect_leaks=0"
 export UBSAN_OPTIONS="print_stacktrace=1"
 UBSAN_OPTIONS="${UBSAN_OPTIONS} suppressions=${IMPALA_HOME}/bin/ubsan-suppressions.txt"
 export PATH="${IMPALA_TOOLCHAIN}/llvm-${IMPALA_LLVM_VERSION}/bin:${PATH}"

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/72cf359f/bin/start-statestored.sh
----------------------------------------------------------------------
diff --git a/bin/start-statestored.sh b/bin/start-statestored.sh
index 33f0dc1..d1eebca 100755
--- a/bin/start-statestored.sh
+++ b/bin/start-statestored.sh
@@ -59,6 +59,7 @@ if ${CLUSTER_DIR}/admin is_kerberized; then
   fi
 fi
 
+export ASAN_OPTIONS="handle_segv=0 detect_leaks=0"
 export UBSAN_OPTIONS="print_stacktrace=1"
 UBSAN_OPTIONS="${UBSAN_OPTIONS} suppressions=${IMPALA_HOME}/bin/ubsan-suppressions.txt"
 export PATH="${IMPALA_TOOLCHAIN}/llvm-${IMPALA_LLVM_VERSION}/bin:${PATH}"


Mime
View raw message