hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Tse (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12309) Customize Java Heap min/max settings for individual processes
Date Tue, 21 Oct 2014 15:23:33 GMT
Mark Tse created HBASE-12309:

             Summary: Customize Java Heap min/max settings for individual processes
                 Key: HBASE-12309
                 URL: https://issues.apache.org/jira/browse/HBASE-12309
             Project: HBase
          Issue Type: Improvement
          Components: master, regionserver, REST
    Affects Versions: 0.99.1, 0.98.5
            Reporter: Mark Tse
            Priority: Minor

The separate processes (master, regionserver, zookeeper, rest, etc.) all run using $JAVA_HEAP_MAX
in 'bin/hbase'. However, there may be cases where we want the processes to run with different
Java max heap sizes.

In 0.98.5, HBASE_(.*)_OPTS variables exist for these processes and can be used to add the
Xms and Xmx tags, but because of how the default for JAVA_HEAP_MAX is set, it will always
add '-Xmx1000m' to the final call to start up the master/regionserver/rest process, resulting
in two different Java heap settings (e.g. -Xmx1000m and -Xmx8g is used when starting the master).

In 0.99.1, this default no longer exists so HBASE_(.*)_OPTS is usable, but it would be nice
to have dedicated variables for each process.

This issue also exists in Hadoop HDFS ([HDFS-7255]).

This message was sent by Atlassian JIRA

View raw message