From e66dca6cd1fd91bfa65a7cd4c68acb7a7f6a6c4e Mon Sep 17 00:00:00 2001 From: Lars George Date: Wed, 11 Mar 2015 11:15:23 +0100 Subject: [PATCH] HBASE-13165 Fix docs and scripts for default max heaps size after HBASE-11804 (docs) --- src/main/asciidoc/_chapters/architecture.adoc | 2 +- src/main/asciidoc/_chapters/configuration.adoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/asciidoc/_chapters/architecture.adoc b/src/main/asciidoc/_chapters/architecture.adoc index 5dc244b4337..0236d81eeea 100644 --- a/src/main/asciidoc/_chapters/architecture.adoc +++ b/src/main/asciidoc/_chapters/architecture.adoc @@ -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. 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. * 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. diff --git a/src/main/asciidoc/_chapters/configuration.adoc b/src/main/asciidoc/_chapters/configuration.adoc index 6f8858d50cb..a5430eb20f3 100644 --- a/src/main/asciidoc/_chapters/configuration.adoc +++ b/src/main/asciidoc/_chapters/configuration.adoc @@ -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. export JAVA_HOME=/usr/java/jdk1.7.0/ -# The maximum amount of heap to use, in MB. Default is 1000. -export HBASE_HEAPSIZE=4096 +# The maximum amount of heap to use. Default is left to JVM default. +export HBASE_HEAPSIZE=4G ---- Use +rsync+ to copy the content of the _conf_ directory to all nodes of the cluster.