Skip to content

Commit df3d75a

Browse files
committed
fix: hbase entry point uses log dir env var
1 parent b73604e commit df3d75a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hbase/stackable/bin/hbase-entrypoint.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ cp /stackable/tmp/hdfs/core-site.xml /stackable/conf
6969
cp /stackable/tmp/hbase/* /stackable/conf
7070
cp /stackable/tmp/log_config/log4j* /stackable/conf
7171

72-
rm -f /stackable/log/_vector/shutdown
72+
rm -f "${STACKABLE_LOG_DIR}/_vector/shutdown"
7373
prepare_signal_handlers
74+
/stackable/containerdebug --output="${STACKABLE_LOG_DIR}/containerdebug-state.json" --loop &
7475
/stackable/hbase/bin/hbase "${HBASE_ROLE_NAME}" start &
7576
wait_for_termination $!
76-
mkdir -p /stackable/log/_vector && touch /stackable/log/_vector/shutdown
77+
mkdir -p "${STACKABLE_LOG_DIR}/_vector" && touch "${STACKABLE_LOG_DIR}/_vector/shutdown"

0 commit comments

Comments
 (0)