You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/hbase/pages/usage-guide/overrides.adoc
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -95,3 +95,21 @@ The HBaseCluster Stacklet does not support environment variable overrides with t
95
95
96
96
The HBase Stacklet and operator also support Pod overrides, allowing you to override any property that you can set on a Kubernetes Pod.
97
97
Read the xref:concepts:overrides.adoc#pod-overrides[Pod overrides documentation] to learn more about this feature.
98
+
99
+
== JVM argument overrides
100
+
101
+
Stackable operators automatically determine the set of needed JVM arguments, such as memory settings or trust- and keystores.
102
+
Using JVM argument overrides you can configure the JVM arguments xref:concepts:overrides.adoc#jvm-argument-overrides[according to the concepts page].
103
+
104
+
One thing that is different for Kafka, is that all heap-related arguments will be passed in via the env variable `HBASE_HEAPSIZE`, all the other ones via `HBASE_OPTS`, `HBASE_MASTER_OPTS`, `HBASE_REGIONSERVER_OPTS` and `HBASE_REST_OPTS`.
105
+
The `HBASE_HEAPSIZE` variable is documented as follows in the https://cwiki.apache.org/confluence/display/HADOOP2/Hbase+FAQ+Operations[HBase FAQs]:
106
+
107
+
> Set the HBASE_HEAPSIZE environment variable in ${HBASE_HOME}/conf/hbase-env.sh if your install needs to run with a larger heap.
108
+
> HBASE_HEAPSIZE is like HADOOP_HEAPSIZE in that its value is the desired heap size in MB.
109
+
> The surrounding '-Xmx' and 'm' needed to make up the maximum heap size java option are added by the hbase start script
110
+
> (See how HBASE_HEAPSIZE is used in the ${HBASE_HOME}/bin/hbase script for clarification).
111
+
112
+
Looking at `bin/hbase`, you can actually add the `m` suffix to make the unit more clear, the script will detect this https://github.com/apache/hbase/blob/777010361abb203b8b17673d84acf4f7f1d0283a/bin/hbase#L165[here] and work correctly.
113
+
114
+
Because of this, it is not possible to change `-XmS` and `-XmX` via JVM argument overrides.
0 commit comments