Home Forums HDP on Linux – Installation Documentation Issue>> NewSize vs. MaxNewSize

This topic contains 1 reply, has 2 voices, and was last updated by  Sanjeev 2 months, 1 week ago.

  • Creator
    Topic
  • #58274

    William Lu
    Participant

    This page seems to have a small issue.

    http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.0.2/bk_installing_manually_book/content/rpm_chap3.html

    Statement #1. “The value of NameNode new generation size should be 1/8 of maximum heap size (-Xmx). Please check, as the default setting may not be accurate.”

    Statement #2. “To change the default value, edit the /etc/hadoop/conf/hadoop-env.sh file and change the value of the -XX:MaxnewSize parameter to 1/8th the value of the maximum heap size (-Xmx) parameter.”

    Statement #1 indicates NameNode new generation size (NewSize) should be 1/8th the value of the maximum heap size.
    Statement #2 indicates NameNode maximum new generation size (MaxNewSize) should be 1/8th the value of the maximum heap size.

    I believe, Statement #1 is correct and sufficient. So, maybe Statement #2 should have said “the -XX:NewSize parameter” instead??? Thanks.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #58815

    Sanjeev
    Participant

    Hi William,

    This is alright. We can keep both as 1/8th of the namenode heapsize. Basically the max size should be 1/8th and there is no harm in keeping the NewSize same as Max.

    Thanks
    Sanjeev

    Collapse
Viewing 1 replies (of 1 total)