<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to set the NameNode Heap memory in ambari? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130653#M34787</link>
    <description>&lt;P&gt;Thanks Sir Bandaru &lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2016 12:15:23 GMT</pubDate>
    <dc:creator>ansarifah</dc:creator>
    <dc:date>2016-07-15T12:15:23Z</dc:date>
    <item>
      <title>How to set the NameNode Heap memory in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130649#M34783</link>
      <description>&lt;P&gt;how much amount to be set heap memory size? It means heap memory size is depend on which factor? &lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 10:59:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130649#M34783</guid>
      <dc:creator>ansarifah</dc:creator>
      <dc:date>2016-07-15T10:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the NameNode Heap memory in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130650#M34784</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3331/ansarifah.html" nodeid="3331"&gt;@ANSARI FAHEEM AHMED&lt;/A&gt;&lt;P&gt;NameNode heap size depends on many factors such as the number of files, the number of blocks, and the load on the system. The settings in the referenced table below should work for typical Hadoop clusters where the number of blocks is very close to the number of files (generally the average ratio of number of blocks per file in a system is 1.1 to 1.2). Some clusters might require further tweaking of the following settings. Also, it is generally better to set the total Java heap to a higher value.&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_installing_manually_book/content/ref-80953924-1cbf-4655-9953-1e744290a6c3.1.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_installing_manually_book/content/ref-80953924-1cbf-4655-9953-1e744290a6c3.1.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 11:13:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130650#M34784</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2016-07-15T11:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the NameNode Heap memory in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130651#M34785</link>
      <description>&lt;P&gt;@Bandaru: Thanks but how to set in ambari cluter ?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 11:35:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130651#M34785</guid>
      <dc:creator>ansarifah</dc:creator>
      <dc:date>2016-07-15T11:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the NameNode Heap memory in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130652#M34786</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3331/ansarifah.html" nodeid="3331"&gt;@ANSARI FAHEEM AHMED&lt;/A&gt; &lt;/P&gt;&lt;P&gt;HADOOP_HEAPSIZE sets the JVM heap size for &lt;EM&gt;all&lt;/EM&gt; Hadoop project servers such as HDFS, YARN, and MapReduce. HADOOP_HEAPSIZE is an integer passed to the JVM as the maximum memory (Xmx) argument. For example:&lt;/P&gt;&lt;PRE&gt;HADOOP_HEAPSIZE=256&lt;/PRE&gt;&lt;P&gt;HADOOP_NAMENODE_OPTS is specific to the NameNode and sets all JVM flags, which must be specified.HADOOP_NAMENODE_OPTS overrides the HADOOP_HEAPSIZE Xmx value for the NameNode. For example:&lt;/P&gt;&lt;PRE&gt;HADOOP_NAMENODE_OPTS=SHARED_HADOOP_NAMENODE_OPTS="-server -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -XX:ErrorFile=/var/log/hadoop/$USER/hs_err_pid%p.log -XX:NewSize=50m -XX:MaxNewSize=100m -XX:PermSize=128m -XX:MaxPermSize=256m -Xloggc:/var/log/hadoop/$USER/gc.log-`date +'%Y%m%d%H%M'` -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Xms250m -Xmx250m -Dhadoop.security.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT"&lt;/PRE&gt;&lt;P&gt;Both HADOOP_NAMENODE_OPTS and HADOOP_HEAPSIZE are stored in /etc/hadoop/conf/hadoop-env.sh.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 11:55:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130652#M34786</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2016-07-15T11:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the NameNode Heap memory in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130653#M34787</link>
      <description>&lt;P&gt;Thanks Sir Bandaru &lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 12:15:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130653#M34787</guid>
      <dc:creator>ansarifah</dc:creator>
      <dc:date>2016-07-15T12:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the NameNode Heap memory in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130654#M34788</link>
      <description>&lt;P&gt;There is a control in ambari under HDFS right at the top for the memory of the Namenode. You should not set the heap size for all components since most need much less memory than the namenode.&lt;/P&gt;&lt;P&gt;For Namenode a good rule of thumb is 1GB for 100TB of data in HDFS ( plus a couple GB base  so 4-8 min ) but it needs to be tuned based on workload ( if you suspect your memory settings to be insufficient you can look at the memory and GC behaviour of your JVM ) &lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 18:06:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130654#M34788</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-07-15T18:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the NameNode Heap memory in ambari?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130655#M34789</link>
      <description>&lt;P&gt;@Benjamin Thanks &lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2016 10:07:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-set-the-NameNode-Heap-memory-in-ambari/m-p/130655#M34789</guid>
      <dc:creator>ansarifah</dc:creator>
      <dc:date>2016-07-16T10:07:41Z</dc:date>
    </item>
  </channel>
</rss>

