From f2ef0ea5ad485ae01c9af900a2c016bb7170fc92 Mon Sep 17 00:00:00 2001 From: Ujjawal Kumar Date: Wed, 31 Aug 2022 23:16:41 +0530 Subject: [PATCH] HBASE-27352 - Quoted string argument with spaces passed from command line are propagated wrongly to the underlying java class --- bin/hbase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hbase b/bin/hbase index 4bc12c7a7172..4fb54a24d594 100755 --- a/bin/hbase +++ b/bin/hbase @@ -875,7 +875,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