Skip to content

Commit

Permalink
reintroduce the CONTAINERDEBUG_LOG_DIRECTORY env var
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan committed Dec 15, 2024
1 parent aad9bcc commit cef93a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rust/operator-binary/src/hbase_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,11 @@ fn build_rolegroup_statefulset(
create_vector_shutdown_file_command(STACKABLE_LOG_DIR),
}])
.add_env_vars(merged_env)
// Needed for the `containerdebug` process to log it's tracing information to.
.add_env_var(
"CONTAINERDEBUG_LOG_DIRECTORY",
format!("{STACKABLE_LOG_DIR}/containerdebug"),
)
.add_volume_mount("hbase-config", HBASE_CONFIG_TMP_DIR)
.context(AddVolumeMountSnafu)?
.add_volume_mount("hdfs-discovery", HDFS_DISCOVERY_TMP_DIR)
Expand Down

0 comments on commit cef93a4

Please sign in to comment.