Home Forums YARN Resource manager heap size

This topic contains 6 replies, has 3 voices, and was last updated by  Kenny Zhang 6 months, 3 weeks ago.

  • Creator
    Topic
  • #43151

    In the Ambari Dashboard HDP 2.0 – I see resource manager heap is 93%..
    My name node went into safe mode because of this.
    I had restart all apps to get the heap size down to 11% and then was able to leave the safe mode.

    When does the heap size go up ? Because I didnt have anything running at that time.
    Also how can add the heap size ? where and how much is ideal ?
    Please advice.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #50807

    Kenny Zhang
    Moderator

    Hi Edwin,

    This is only because the old version of Ambari (1.4.1) didn’t query the right jmx info. This is unrelated to YARN’s problem.

    Thanks,
    Kenny

    Collapse
    #50806

    Kenny Zhang
    Moderator

    Hi Edwin,

    This is only because the old version of Ambari (1.4.1) didn’t query the right jmx info. This is unrelated to YARN’s problem.

    Thanks,
    Kenny

    Collapse
    #46682

    Edwin Weill
    Participant

    I am also experiencing similar problems in the Ambari Dashboard HDP 2.0; the resource manager is showing 92+% usage. Also, every so often the YARN memory usage exceeds 3000%. Is this due to the bug or could it be some other problem with the heap and/or YARN memory? Thanks for the advice in advance.

    Collapse
    #44081

    Kenny Zhang
    Moderator

    Hi,

    You can use the jmap utility eg. $jmap -heap

    Thanks,

    Kenny

    Collapse
    #43598

    Thanks Kenny.
    Good to know about the bug. Now knowing that this is a bug.
    Can you please tell me how I can monitor the heap size being currently used, and which app is using it ?
    Any cmd I can use at the Linux server

    Collapse
    #43474

    Kenny Zhang
    Moderator

    Hi,

    The ambari RM heap size metric is not accurate, it’s a ambari bug which our engineering is working on now.

    We already replied back to you for the safe mode issue in another topic.
    Please let us know if there is any other question or issue.

    Thanks.
    Kenny

    Collapse
Viewing 6 replies - 1 through 6 (of 6 total)