File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ handle_term_signal() {
2727 if [ " ${term_child_pid} " ]; then
2828 if [ " regionserver" == " ${HBASE_ROLE_NAME} " ]; then
2929 echo " Running pre-shutdown command: /stackable/hbase/bin/hbase org.apache.hadoop.hbase.util.RegionMover ${REGION_MOVER_OPTS} "
30- /stackable/hbase/bin/hbase org.apache.hadoop.hbase.util.RegionMover " ${REGION_MOVER_OPTS} "
30+ # REGION_MOVER_OPTS is a string that contains multiple arguments and needs to be spliced here
31+ # therefore disable shellcheck for this line
32+ # shellcheck disable=SC2086
33+ /stackable/hbase/bin/hbase org.apache.hadoop.hbase.util.RegionMover ${REGION_MOVER_OPTS}
3134 echo " Done pre-shutdown command"
3235 fi
3336 kill -TERM " ${term_child_pid} " 2> /dev/null
@@ -55,7 +58,7 @@ mkdir -p /stackable/conf
5558cp /stackable/tmp/hdfs/hdfs-site.xml /stackable/conf
5659cp /stackable/tmp/hdfs/core-site.xml /stackable/conf
5760cp /stackable/tmp/hbase/* /stackable/conf
58- cp /stackable/tmp/log_config/log4j.properties /stackable/conf
61+ cp /stackable/tmp/log_config/log4j* /stackable/conf
5962
6063rm -f /stackable/log/_vector/shutdown
6164prepare_signal_handlers
You can’t perform that action at this time.
0 commit comments