File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -520,9 +520,6 @@ if [[ $jruby_needed ]]; then
520
520
fi
521
521
fi
522
522
523
- # set default values for HBASE_JSHELL_ARGS
524
- read -r -a JSHELL_ARGS <<< " ${HBASE_JSHELL_ARGS:-" --startup DEFAULT --startup PRINTING --startup ${HBASE_HOME} /bin/hbase_startup.jsh" }"
525
-
526
523
# figure out which class to run
527
524
if [ " $COMMAND " = " shell" ] ; then
528
525
# find the hbase ruby sources
@@ -550,6 +547,8 @@ elif [ "$COMMAND" = 'jshell' ] ; then
550
547
exit 1
551
548
fi
552
549
CLASS=' jdk.internal.jshell.tool.JShellToolProvider'
550
+ # set default values for HBASE_JSHELL_ARGS
551
+ read -r -a JSHELL_ARGS <<< " ${HBASE_JSHELL_ARGS:-" --startup DEFAULT --startup PRINTING --startup ${HBASE_HOME} /bin/hbase_startup.jsh" }"
553
552
elif [ " $COMMAND " = " hbck" ] ; then
554
553
# Look for the -j /path/to/HBCK2.jar parameter. Else pass through to hbck.
555
554
case " ${1} " in
You can’t perform that action at this time.
0 commit comments