File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
deploy/helm/hbase-operator/crds
operator-binary/src/config Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 {}
666665pub 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 ) ) ]
Original file line number Diff line number Diff 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`.
5051pub fn construct_role_specific_non_heap_jvm_args (
5152 hbase : & HbaseCluster ,
5253 hbase_role : & HbaseRole ,
You can’t perform that action at this time.
0 commit comments