FAQ
Hello everybody,

I'd like to change (increase) JVM heap size for hbase services by using
Cloudera Manager 4.6.0 standard (#140 built by jenkins on 20130604-0100
git: e7ff866680078c00fa1a77656f7bc6f980c699a8). I have hbase master
installed in 1 box and region servers installed in 7 boxes.
To change the JVM heap size I opened 'Configuration' tab of the hbase1
service and searched for 'Java Heap'. Then I got a list of Java heap size
properties for the following hbase services: client, REST server, thrift
server, master and region server. I've changed JVM heap size for all
services to 4GiB and saved changes. Then, I've restarted hbase master and
all region servers. However, the hbase services still started with
'-Xmx1000m' JVM option instead of '-Xmx4096m', as I expected.

What should I do to run hbase services with increased JVM heap size?
Your help will be very much appreciated.
-- Lev

Search Discussions

  • Darren Lo at Jun 13, 2013 at 1:54 am
    Hi Lev,

    Often times you will see two -Xmx in your JVM options, one of which is
    always the same (like 1000m), the other is what you configured via CM. The
    last one on the command line wins, and CM's comes later, so it should be
    configured as expected.

    Thanks,
    Darren

    On Wed, Jun 12, 2013 at 1:55 PM, LevKo wrote:

    Hello everybody,

    I'd like to change (increase) JVM heap size for hbase services by using
    Cloudera Manager 4.6.0 standard (#140 built by jenkins on 20130604-0100
    git: e7ff866680078c00fa1a77656f7bc6f980c699a8). I have hbase master
    installed in 1 box and region servers installed in 7 boxes.
    To change the JVM heap size I opened 'Configuration' tab of the hbase1
    service and searched for 'Java Heap'. Then I got a list of Java heap size
    properties for the following hbase services: client, REST server, thrift
    server, master and region server. I've changed JVM heap size for all
    services to 4GiB and saved changes. Then, I've restarted hbase master and
    all region servers. However, the hbase services still started with
    '-Xmx1000m' JVM option instead of '-Xmx4096m', as I expected.

    What should I do to run hbase services with increased JVM heap size?
    Your help will be very much appreciated.
    -- Lev


    --
    Thanks,
    Darren
  • LevKo at Jun 13, 2013 at 1:28 pm
    Thank you, Darren. You are right, each Java process includes 2 different
    '-Xmx' options, and the latter one is correct. Although I could not find
    any official Oracle document stating that the rightmost '-Xmx' instance
    wins, the Java processes actually use correct virtual memory size.

    Thanks again,
    -- Lev
    On Wednesday, June 12, 2013 9:54:13 PM UTC-4, Darren Lo wrote:

    Hi Lev,

    Often times you will see two -Xmx in your JVM options, one of which is
    always the same (like 1000m), the other is what you configured via CM. The
    last one on the command line wins, and CM's comes later, so it should be
    configured as expected.

    Thanks,
    Darren


    On Wed, Jun 12, 2013 at 1:55 PM, LevKo <lev.k...@gmail.com <javascript:>>wrote:
    Hello everybody,

    I'd like to change (increase) JVM heap size for hbase services by using
    Cloudera Manager 4.6.0 standard (#140 built by jenkins on 20130604-0100
    git: e7ff866680078c00fa1a77656f7bc6f980c699a8). I have hbase master
    installed in 1 box and region servers installed in 7 boxes.
    To change the JVM heap size I opened 'Configuration' tab of the hbase1
    service and searched for 'Java Heap'. Then I got a list of Java heap size
    properties for the following hbase services: client, REST server, thrift
    server, master and region server. I've changed JVM heap size for all
    services to 4GiB and saved changes. Then, I've restarted hbase master and
    all region servers. However, the hbase services still started with
    '-Xmx1000m' JVM option instead of '-Xmx4096m', as I expected.

    What should I do to run hbase services with increased JVM heap size?
    Your help will be very much appreciated.
    -- Lev


    --
    Thanks,
    Darren

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedJun 12, '13 at 8:55p
activeJun 13, '13 at 1:28p
posts3
users2
websitecloudera.com
irc#hadoop

2 users in discussion

LevKo: 2 posts Darren Lo: 1 post

People

Translate

site design / logo © 2022 Grokbase