Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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?
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB