mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-14530: Use minimal debug info in Jenkins
Uses IMPALA_MINIMAL_DEBUG_INFO=true in Jenkins build-all-flag-combinations.sh to reduce memory usage during linking and avoid OOM kills. This script uses -skiptests to build all test binaries, but doesn't run them, so debug info is not needed. Change-Id: I4605b98d8d197e07c2eaac8218ff985c798875ed Reviewed-on: http://gerrit.cloudera.org:8080/23641 Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com> Reviewed-by: Quanlong Huang <huangquanlong@gmail.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
@@ -29,6 +29,9 @@ set -euo pipefail
|
||||
setup_report_build_error
|
||||
|
||||
export IMPALA_MAVEN_OPTIONS="-U"
|
||||
# Minimize debug info because we don't use it and it significantly increases link memory
|
||||
# usage, which is causing OOM issues on Jenkins.
|
||||
export IMPALA_MINIMAL_DEBUG_INFO=true
|
||||
|
||||
. bin/impala-config.sh > /dev/null 2>&1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user