HBASE-13165 Fix docs and scripts for default max heaps size after HBASE-11804 (docs)
This commit is contained in:
parent
fa299bfa80
commit
e66dca6cd1
|
@ -682,7 +682,7 @@ The last value (99%) is the default acceptable loading factor in the LRU cache a
|
||||||
The reason it is included in this equation is that it would be unrealistic to say that it is possible to use 100% of the available memory since this would make the process blocking from the point where it loads new blocks.
|
The reason it is included in this equation is that it would be unrealistic to say that it is possible to use 100% of the available memory since this would make the process blocking from the point where it loads new blocks.
|
||||||
Here are some examples:
|
Here are some examples:
|
||||||
|
|
||||||
* One region server with the default heap size (1 GB) and the default block cache size will have 253 MB of block cache available.
|
* One region server with the heap size set to 1 GB and the default block cache size will have 253 MB of block cache available.
|
||||||
* 20 region servers with the heap size set to 8 GB and a default block cache size will have 39.6 of block cache.
|
* 20 region servers with the heap size set to 8 GB and a default block cache size will have 39.6 of block cache.
|
||||||
* 100 region servers with the heap size set to 24 GB and a block cache size of 0.5 will have about 1.16 TB of block cache.
|
* 100 region servers with the heap size set to 24 GB and a block cache size of 0.5 will have about 1.16 TB of block cache.
|
||||||
|
|
||||||
|
|
|
@ -708,8 +708,8 @@ The following lines in the _hbase-env.sh_ file show how to set the `JAVA_HOME` e
|
||||||
# The java implementation to use.
|
# The java implementation to use.
|
||||||
export JAVA_HOME=/usr/java/jdk1.7.0/
|
export JAVA_HOME=/usr/java/jdk1.7.0/
|
||||||
|
|
||||||
# The maximum amount of heap to use, in MB. Default is 1000.
|
# The maximum amount of heap to use. Default is left to JVM default.
|
||||||
export HBASE_HEAPSIZE=4096
|
export HBASE_HEAPSIZE=4G
|
||||||
----
|
----
|
||||||
|
|
||||||
Use +rsync+ to copy the content of the _conf_ directory to all nodes of the cluster.
|
Use +rsync+ to copy the content of the _conf_ directory to all nodes of the cluster.
|
||||||
|
|
Loading…
Reference in New Issue