Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - question about hbase envionmnet variable


Copy link to this message
-
Re: question about hbase envionmnet variable
Ted Yu 2013-07-01, 12:10
Looking at bin/hbase:

# check envvars which might override default args
if [ "$HBASE_HEAPSIZE" != "" ]; then
  #echo "run with heapsize $HBASE_HEAPSIZE"
  JAVA_HEAP_MAX="-Xmx""$HBASE_HEAPSIZE""m"
  #echo $JAVA_HEAP_MAX
fi

Meaning, if you set HBASE_HEAPSIZE environment variable, bin/hbase would
take care of setting -Xmx.

Cheers

On Mon, Jul 1, 2013 at 12:11 AM, ch huang <[EMAIL PROTECTED]> wrote:

> if i set HBASE_HEAPSIZE=20000  (HEAP is 20G ) ,can i set jvm option -Xmx20g
> -Xms20G? if not ,how much i can set?
>