diff --git a/CHANGELOG.md b/CHANGELOG.md index b294bcb6..350393c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,12 @@ ### Added -- Add `hbase.rest.hostname`, `hbase.rest.port`, and `hbase.rest.info.port` properties to the restserver `hbase-site.xml` ([#708]). +- Add custom `hbase.rest.endpoint` property to the restserver `hbase-site.xml` ([#708], [#716]). + - The custom `hbase.rest.hostname` and native `hbase.rest.port` properties cannot be used for + discovery advertisement, as these should remain stable regardless of listener class used to expose the REST service. [#708]: https://github.com/stackabletech/hbase-operator/pull/708 +[#716]: https://github.com/stackabletech/hbase-operator/pull/716 ## [25.11.0] - 2025-11-07 diff --git a/rust/operator-binary/src/hbase_controller.rs b/rust/operator-binary/src/hbase_controller.rs index 8445d173..24c29898 100644 --- a/rust/operator-binary/src/hbase_controller.rs +++ b/rust/operator-binary/src/hbase_controller.rs @@ -593,16 +593,10 @@ fn build_rolegroup_config_map( } HbaseRole::RestServer => { hbase_site_config.insert( - "hbase.rest.hostname".to_string(), - "${env:HBASE_SERVICE_HOST}".to_string(), - ); - hbase_site_config.insert( - "hbase.rest.port".to_string(), - "${env:HBASE_SERVICE_PORT}".to_string(), - ); - hbase_site_config.insert( - "hbase.rest.info.port".to_string(), - "${env:HBASE_INFO_PORT}".to_string(), + // N.B. a custom tag, so as not to interfere with HBase internals. + // The other roles use a patch to correctly resolve host/port. + "hbase.rest.endpoint".to_string(), + "${env:HBASE_SERVICE_HOST}:${env:HBASE_SERVICE_PORT}".to_string(), ); } };