From 59fcadfdd06864181c51ff1f2f7ed9a2111ff53b Mon Sep 17 00:00:00 2001 From: Ujjawal Date: Tue, 13 Sep 2022 18:02:55 +0530 Subject: [PATCH] HBASE-27352 - Quoted string argument with spaces passed from command line are propagated wrongly to the underlying java class (#4754) Signed-off-by: Nick Dimiduk --- bin/hbase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hbase b/bin/hbase index 029ba4b75da2..0585554b3b47 100755 --- a/bin/hbase +++ b/bin/hbase @@ -841,7 +841,7 @@ if [ "${DEBUG}" = "true" ]; then fi # resolve the command arguments -read -r -a CMD_ARGS <<< "$@" +CMD_ARGS=("$@") if [ "${#JSHELL_ARGS[@]}" -gt 0 ] ; then CMD_ARGS=("${JSHELL_ARGS[@]}" "${CMD_ARGS[@]}") fi