Skip to content

Commit cef93a4

Browse files
committed
reintroduce the CONTAINERDEBUG_LOG_DIRECTORY env var
1 parent aad9bcc commit cef93a4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rust/operator-binary/src/hbase_controller.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,11 @@ fn build_rolegroup_statefulset(
894894
create_vector_shutdown_file_command(STACKABLE_LOG_DIR),
895895
}])
896896
.add_env_vars(merged_env)
897+
// Needed for the `containerdebug` process to log it's tracing information to.
898+
.add_env_var(
899+
"CONTAINERDEBUG_LOG_DIRECTORY",
900+
format!("{STACKABLE_LOG_DIR}/containerdebug"),
901+
)
897902
.add_volume_mount("hbase-config", HBASE_CONFIG_TMP_DIR)
898903
.context(AddVolumeMountSnafu)?
899904
.add_volume_mount("hdfs-discovery", HDFS_DISCOVERY_TMP_DIR)

0 commit comments

Comments
 (0)