From 74126ea647c22111fe0458a28f41f1e6297e15b5 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 a654f517731..e50965831f5 100755 --- a/bin/hbase +++ b/bin/hbase @@ -847,7 +847,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