You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2019/02/22 17:34:49 UTC

[impala] 06/13: IMPALA-7193: Fix cluster startup args in create-load-data.sh

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

tarmstrong pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 48a41a79621fbc0184e634f812b118a45d315682
Author: Joe McDonnell <jo...@cloudera.com>
AuthorDate: Thu Jun 21 10:56:02 2018 -0700

    IMPALA-7193: Fix cluster startup args in create-load-data.sh
    
    The minicluster args for dataload changed to
    a bash array in IMPALA-7119, and this requires
    a special syntax to derefence and get the whole
    array.
    
    This fixes the invocation to use the right
    syntax ($BASH_VAR[@] rather than $BASH_VAR).
    
    Change-Id: Ie9a24c0e9fa34e43697b16b48cf219f47f30c0cc
    Reviewed-on: http://gerrit.cloudera.org:8080/10782
    Reviewed-by: Philip Zeyliger <ph...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 testdata/bin/create-load-data.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testdata/bin/create-load-data.sh b/testdata/bin/create-load-data.sh
index 0c1ea7d..077a7e2 100755
--- a/testdata/bin/create-load-data.sh
+++ b/testdata/bin/create-load-data.sh
@@ -144,7 +144,7 @@ function start-impala {
   fi
   START_CLUSTER_ARGS_INT+=("${START_CLUSTER_ARGS}")
   ${IMPALA_HOME}/bin/start-impala-cluster.py --log_dir=${IMPALA_DATA_LOADING_LOGS_DIR} \
-    ${START_CLUSTER_ARGS_INT}
+    ${START_CLUSTER_ARGS_INT[@]}
 }
 
 function restart-cluster {