aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/start-thriftserver.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/start-thriftserver.sh b/sbin/start-thriftserver.sh
index 603f50ae13..2c4452473c 100755
--- a/sbin/start-thriftserver.sh
+++ b/sbin/start-thriftserver.sh
@@ -65,14 +65,14 @@ while (($#)); do
case $1 in
--hiveconf)
ensure_arg_number $# 2
- THRIFT_SERVER_ARGS+=($1); shift
- THRIFT_SERVER_ARGS+=($1); shift
+ THRIFT_SERVER_ARGS+=("$1"); shift
+ THRIFT_SERVER_ARGS+=("$1"); shift
;;
*)
- SUBMISSION_ARGS+=($1); shift
+ SUBMISSION_ARGS+=("$1"); shift
;;
esac
done
-eval exec "$FWDIR"/bin/spark-submit --class $CLASS ${SUBMISSION_ARGS[*]} spark-internal ${THRIFT_SERVER_ARGS[*]}
+exec "$FWDIR"/bin/spark-submit --class $CLASS "${SUBMISSION_ARGS[@]}" spark-internal "${THRIFT_SERVER_ARGS[@]}"