Ver Fonte

AMBARI-10350. Ambari UI for HBase config incorrectly describes the -Xmn config (dlysnichenko)

Lisnichenko Dmitro há 10 anos atrás
pai
commit
d09dd4ecc5

+ 1 - 5
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-hbase-env.xml

@@ -59,11 +59,7 @@
   <property>
     <name>hbase_regionserver_xmn_ratio</name>
     <value>0.2</value>
-    <description>
-        HBase RegionServer minimum heap size is calculated as a percentage
-        of max heap size. If hbase_regionserver_xmn_max is defined, the ratio
-        will be used to calculate -Xmn setting.
-    </description>
+    <description>Percentage of max heap size (-Xmx) which used for young generation heap (-Xmn).</description>
   </property>
   <property>
     <name>hbase_master_heapsize</name>

+ 6 - 2
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/configuration/hbase-env.xml

@@ -47,12 +47,16 @@
   <property>
     <name>hbase_regionserver_xmn_max</name>
     <value>512</value>
-    <description>HBase RegionServer maximum value for minimum heap size.</description>
+    <description>
+Sets the upper bound on HBase RegionServers' young generation size.
+This value is used in case the young generation size (-Xmn) calculated based on the max heapsize (hbase_regionserver_heapsize)
+and the -Xmn ratio (hbase_regionserver_xmn_ratio) exceeds this value.
+    </description>
   </property>
   <property>
     <name>hbase_regionserver_xmn_ratio</name>
     <value>0.2</value>
-    <description>HBase RegionServer minimum heap size is calculated as a percentage of max heap size.</description>
+    <description>Percentage of max heap size (-Xmx) which used for young generation heap (-Xmn).</description>
   </property>
   <property>
     <name>hbase_master_heapsize</name>

+ 6 - 2
ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HBASE/configuration/hbase-env.xml

@@ -39,12 +39,16 @@
   <property>
     <name>hbase_regionserver_xmn_max</name>
     <value>512</value>
-    <description>HBase RegionServer maximum value for minimum heap size.</description>
+    <description>
+Sets the upper bound on HBase RegionServers' young generation size.
+This value is used in case the young generation size (-Xmn) calculated based on the max heapsize (hbase_regionserver_heapsize)
+and the -Xmn ratio (hbase_regionserver_xmn_ratio) exceeds this value.
+    </description>
   </property>
   <property>
     <name>hbase_regionserver_xmn_ratio</name>
     <value>0.2</value>
-    <description>HBase RegionServer minimum heap size is calculated as a percentage of max heap size.</description>
+    <description>Percentage of max heap size (-Xmx) which used for young generation heap (-Xmn).</description>
   </property>
   <property>
     <name>hbase_master_heapsize</name>

+ 6 - 2
ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/hbase-env.xml

@@ -39,12 +39,16 @@
   <property>
     <name>hbase_regionserver_xmn_max</name>
     <value>512</value>
-    <description>HBase RegionServer maximum value for minimum heap size.</description>
+    <description>
+Sets the upper bound on HBase RegionServers' young generation size.
+This value is used in case the young generation size (-Xmn) calculated based on the max heapsize (hbase_regionserver_heapsize)
+and the -Xmn ratio (hbase_regionserver_xmn_ratio) exceeds this value.
+    </description>
   </property>
   <property>
     <name>hbase_regionserver_xmn_ratio</name>
     <value>0.2</value>
-    <description>HBase RegionServer minimum heap size is calculated as a percentage of max heap size.</description>
+    <description>Percentage of max heap size (-Xmx) which used for young generation heap (-Xmn).</description>
   </property>
   <property>
     <name>hbase_master_heapsize</name>

+ 6 - 2
ambari-server/src/main/resources/stacks/PHD/3.0.0.0/services/HBASE/configuration/hbase-env.xml

@@ -39,12 +39,16 @@
   <property>
     <name>hbase_regionserver_xmn_max</name>
     <value>512</value>
-    <description>HBase RegionServer maximum value for minimum heap size.</description>
+    <description>
+Sets the upper bound on HBase RegionServers' young generation size.
+This value is used in case the young generation size (-Xmn) calculated based on the max heapsize (hbase_regionserver_heapsize)
+and the -Xmn ratio (hbase_regionserver_xmn_ratio) exceeds this value.
+    </description>
   </property>
   <property>
     <name>hbase_regionserver_xmn_ratio</name>
     <value>0.2</value>
-    <description>HBase RegionServer minimum heap size is calculated as a percentage of max heap size.</description>
+    <description>Percentage of max heap size (-Xmx) which used for young generation heap (-Xmn).</description>
   </property>
   <property>
     <name>hbase_master_heapsize</name>

+ 6 - 2
ambari-server/src/test/resources/stacks/HDP/1.3.0/services/HBASE/configuration/global.xml

@@ -54,12 +54,16 @@
   <property>
     <name>hbase_regionserver_xmn_max</name>
     <value>512</value>
-    <description>HBase RegionServer maximum value for minimum heap size.</description>
+    <description>
+Sets the upper bound on HBase RegionServers' young generation size.
+This value is used in case the young generation size (-Xmn) calculated based on the max heapsize (hbase_regionserver_heapsize)
+and the -Xmn ratio (hbase_regionserver_xmn_ratio) exceeds this value.
+    </description>
   </property>
   <property>
     <name>hbase_regionserver_xmn_ratio</name>
     <value>0.2</value>
-    <description>HBase RegionServer minimum heap size is calculated as a percentage of max heap size.</description>
+    <description>Percentage of max heap size which used for young generation heap (-Xmx).</description>
   </property>
   <property>
     <name>hbase_master_heapsize</name>

+ 6 - 2
ambari-server/src/test/resources/stacks/HDP/2.0.5/services/HBASE/configuration/global.xml

@@ -54,12 +54,16 @@
   <property>
     <name>hbase_regionserver_xmn_max</name>
     <value>512</value>
-    <description>HBase RegionServer maximum value for minimum heap size.</description>
+    <description>
+Sets the upper bound on HBase RegionServers' young generation size.
+This value is used in case the young generation size (-Xmn) calculated based on the max heapsize (hbase_regionserver_heapsize)
+and the -Xmn ratio (hbase_regionserver_xmn_ratio) exceeds this value.
+    </description>
   </property>
   <property>
     <name>hbase_regionserver_xmn_ratio</name>
     <value>0.2</value>
-    <description>HBase RegionServer minimum heap size is calculated as a percentage of max heap size.</description>
+    <description>Percentage of max heap size which used for young generation heap (-Xmx).</description>
   </property>
   <property>
     <name>hbase_master_heapsize</name>

+ 6 - 2
ambari-server/src/test/resources/stacks/HDP/2.0.7/services/HBASE/configuration/global.xml

@@ -54,12 +54,16 @@
   <property>
     <name>hbase_regionserver_xmn_max</name>
     <value>512</value>
-    <description>HBase RegionServer maximum value for minimum heap size.</description>
+    <description>
+Sets the upper bound on HBase RegionServers' young generation size.
+This value is used in case the young generation size (-Xmn) calculated based on the max heapsize (hbase_regionserver_heapsize)
+and the -Xmn ratio (hbase_regionserver_xmn_ratio) exceeds this value.
+    </description>
   </property>
   <property>
     <name>hbase_regionserver_xmn_ratio</name>
     <value>0.2</value>
-    <description>HBase RegionServer minimum heap size is calculated as a percentage of max heap size.</description>
+    <description>Percentage of max heap size which used for young generation heap (-Xmx).</description>
   </property>
   <property>
     <name>hbase_master_heapsize</name>