Skip to content

Commit 2affa65

Browse files
committed
cleanup start command
1 parent 7a2756b commit 2affa65

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

rust/operator-binary/src/hbase_controller.rs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -867,20 +867,13 @@ fn build_rolegroup_statefulset(
867867
hbase_container
868868
.image_from_product_image(resolved_product_image)
869869
.command(command())
870-
.args(vec![formatdoc!{"
871-
{export_address}
872-
{export_port}
873-
{export_hostname}
870+
.args(vec![formatdoc! {"
874871
{entrypoint} {role} {domain} {port}",
875-
export_address = format!("export HBASE_CONF_hbase_{role_name}_hostname=$(cat /stackable/listener/default-address/address);").to_string(),
876-
export_port = format!("export HBASE_CONF_hbase_{role_name}_port=$(cat /stackable/listener/default-address/ports/ui-http);").to_string(),
877-
export_hostname = "export HOSTNAME=$(cat /stackable/listener/default-address/address);".to_string(),
878872
entrypoint = "/stackable/hbase/bin/hbase-entrypoint.sh".to_string(),
879873
role = role_name,
880874
domain = hbase_service_domain_name(hbase, rolegroup_ref, cluster_info)?,
881875
port = hbase.service_port(hbase_role).to_string(),
882-
}
883-
])
876+
}])
884877
.add_env_vars(merged_env)
885878
// Needed for the `containerdebug` process to log it's tracing information to.
886879
.add_env_var(

0 commit comments

Comments
 (0)