You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2019/05/17 23:36:51 UTC

[impala] 03/03: Add USE_CDP_HIVE=true case to build-all-flag-combinations.sh

This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 98a79c8ce190ff86eb7e95c3ecdda059ffeeed4a
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Tue May 14 15:39:19 2019 -0700

    Add USE_CDP_HIVE=true case to build-all-flag-combinations.sh
    
    This does a basic debug build with USE_CDP_HIVE=true to verify we don't
    break anything.
    
    Change-Id: I3f8e689242e20efb37fbadf7c04764ea8ffb9a9f
    Reviewed-on: http://gerrit.cloudera.org:8080/13335
    Reviewed-by: Joe McDonnell <jo...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 bin/jenkins/build-all-flag-combinations.sh | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/bin/jenkins/build-all-flag-combinations.sh b/bin/jenkins/build-all-flag-combinations.sh
index 200729e..cbbc7c4 100755
--- a/bin/jenkins/build-all-flag-combinations.sh
+++ b/bin/jenkins/build-all-flag-combinations.sh
@@ -42,12 +42,21 @@ CONFIGS=(
   "-skiptests -noclean -asan"
   "-skiptests -noclean -tsan"
   "-skiptests -noclean -ubsan -so -ninja"
+  # USE_CDP_HIVE=true build:
+  "-skiptests -noclean -use_cdp_hive"
 )
 
 FAILED=""
 
 for CONFIG in "${CONFIGS[@]}"; do
-  DESCRIPTION="Options $CONFIG"
+  CONFIG2=${CONFIG/-use_cdp_hive/}
+  if [[ "$CONFIG" != "$CONFIG2" ]]; then
+    CONFIG=$CONFIG2
+    export USE_CDP_HIVE=true
+  else
+    export USE_CDP_HIVE=false
+  fi
+  DESCRIPTION="Options $CONFIG USE_CDP_HIVE=$USE_CDP_HIVE"
 
   if [[ $# == 1 && $1 == "--dryrun" ]]; then
     echo $DESCRIPTION