Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a68126d

Browse files
committed
HBase heap size default. [ci skip]
1 parent 4e78a0a commit a68126d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
# file: roles/cdh_hbase_config/defaults/main.yml
33

4-
hbase:
5-
# The HBase heap size
6-
heapsize: 8192
4+
# The HBase heap size
5+
hbase_heapsize: 4096

roles/cdh_hbase_config/templates/hbase-env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
# Extra Java CLASSPATH elements. Optional.
3333
# export HBASE_CLASSPATH=
3434

35-
# The maximum amount of heap to use, in MB. Default is 1000.
36-
export HBASE_HEAPSIZE=4096
35+
# The maximum amount of heap to use, in MB. Default is 4096.
36+
export HBASE_HEAPSIZE={{ hbase_heapsize }}
3737

3838
# Extra Java runtime options.
3939
# Below are what we set by default. May only work with SUN JVM.

0 commit comments

Comments
 (0)