Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 4 additions & 10 deletions rust/operator-binary/src/hbase_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
);
}
};
Expand Down
Loading