Skip to content

Commit 47d6a21

Browse files
authored
fix: region mover merging oversight (#626)
1 parent 6e3eef5 commit 47d6a21

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

deploy/helm/hbase-operator/crds/crds.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,6 @@ spec:
688688
description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.
689689
nullable: true
690690
type: string
691-
hbaseOpts:
692-
nullable: true
693-
type: string
694691
hbaseRootdir:
695692
nullable: true
696693
type: string
@@ -969,9 +966,6 @@ spec:
969966
description: Time period Pods have to gracefully shut down, e.g. `30m`, `1h` or `2d`. Consult the operator documentation for details.
970967
nullable: true
971968
type: string
972-
hbaseOpts:
973-
nullable: true
974-
type: string
975969
hbaseRootdir:
976970
nullable: true
977971
type: string

rust/crd/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@ impl AnyConfigFragment {
424424
HbaseRole::RegionServer => {
425425
AnyConfigFragment::RegionServer(RegionServerConfigFragment {
426426
hbase_rootdir: None,
427-
hbase_opts: None,
428427
resources: default_resources(role),
429428
logging: product_logging::spec::default_logging(),
430429
affinity: get_affinity(cluster_name, role, hdfs_discovery_cm_name),
@@ -666,8 +665,6 @@ impl Atomic for RegionMoverExtraCliOpts {}
666665
pub struct RegionServerConfig {
667666
#[serde(default, skip_serializing_if = "Option::is_none")]
668667
pub hbase_rootdir: Option<String>,
669-
#[serde(default, skip_serializing_if = "Option::is_none")]
670-
pub hbase_opts: Option<String>,
671668
#[fragment_attrs(serde(default))]
672669
pub resources: Resources<HbaseStorageConfig, NoRuntimeLimits>,
673670
#[fragment_attrs(serde(default))]

rust/operator-binary/src/config/jvm.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ pub fn construct_global_jvm_args(kerberos_enabled: bool) -> String {
4646
jvm_args.join(" ")
4747
}
4848

49-
/// Arguments that go into `HBASE_OPTS`, so *not* the heap settings (which go into `HBASE_HEAPSIZE`).
49+
/// JVM arguments that are specifically for the role (server), so will *not* be used e.g. by CLI tools.
50+
/// Heap settings are excluded, as they go into `HBASE_HEAPSIZE`.
5051
pub fn construct_role_specific_non_heap_jvm_args(
5152
hbase: &HbaseCluster,
5253
hbase_role: &HbaseRole,

0 commit comments

Comments
 (0)