diff --git a/CHANGELOG.md b/CHANGELOG.md index 01b0e0f3..529fcabc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ ### Fixed - Fix Zookeeper hbase.rootdir when users point to discovery ConfigMap of ZookeeperCluster rather than ZNode. Print a warning in that case ([#394]). +- Default `hbase.unsafe.regionserver.hostname.disable.master.reversedns` to + `true`, to ensure the names of RegionServers are resolved to their hostnames + instead of IP addresses ([#418]). ### Removed @@ -30,6 +33,7 @@ [#399]: https://github.com/stackabletech/hbase-operator/pull/399 [#402]: https://github.com/stackabletech/hbase-operator/pull/402 [#403]: https://github.com/stackabletech/hbase-operator/pull/403 +[#418]: https://github.com/stackabletech/hbase-operator/pull/418 ## [23.7.0] - 2023-07-14 diff --git a/rust/crd/src/lib.rs b/rust/crd/src/lib.rs index 683d0873..4170d49a 100644 --- a/rust/crd/src/lib.rs +++ b/rust/crd/src/lib.rs @@ -44,6 +44,8 @@ pub const HBASE_REST_OPTS: &str = "HBASE_REST_OPTS"; pub const HBASE_CLUSTER_DISTRIBUTED: &str = "hbase.cluster.distributed"; pub const HBASE_ROOTDIR: &str = "hbase.rootdir"; +pub const HBASE_UNSAFE_REGIONSERVER_HOSTNAME_DISABLE_MASTER_REVERSEDNS: &str = + "hbase.unsafe.regionserver.hostname.disable.master.reversedns"; pub const HBASE_HEAPSIZE: &str = "HBASE_HEAPSIZE"; pub const HBASE_ROOT_DIR_DEFAULT: &str = "/hbase"; @@ -377,6 +379,10 @@ impl Configuration for HbaseConfigFragment { HBASE_CLUSTER_DISTRIBUTED.to_string(), Some("true".to_string()), ); + result.insert( + HBASE_UNSAFE_REGIONSERVER_HOSTNAME_DISABLE_MASTER_REVERSEDNS.to_string(), + Some("true".to_string()), + ); result.insert( HBASE_ROOTDIR.to_string(), Some(