<?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: NodeManager memory setting best practice? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98346#M61473</link>
    <description>&lt;P&gt;2GB (i wonder why this system has min char limit which doesn't allow me to just type "2GB")&lt;/P&gt;</description>
    <pubDate>Thu, 10 Dec 2015 10:38:49 GMT</pubDate>
    <dc:creator>hosako</dc:creator>
    <dc:date>2015-12-10T10:38:49Z</dc:date>
    <item>
      <title>NodeManager memory setting best practice?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98344#M61471</link>
      <description>&lt;P&gt;I asked a question regarding OOM in NodeManager log and it turned out I need to increase the NM's heap size.&lt;/P&gt;&lt;P&gt;So that I was wondering if there is any document which advises me how much memory I should assign?&lt;/P&gt;&lt;P&gt;I'm hoping something similar to HDFS NameNode heap size ( &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"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-...&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;Or as it would be hard to estimate, I should just try twice higher and see how it goes?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 05:54:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98344#M61471</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2015-12-10T05:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: NodeManager memory setting best practice?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98345#M61472</link>
      <description>&lt;P&gt;Hi Hajime, typically we set the NodeManager heap to 2GB - 4GB - I haven't had to set it higher than that. What is it currently set to?&lt;/P&gt;&lt;P&gt;-Koelli&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 08:01:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98345#M61472</guid>
      <dc:creator>kmungee</dc:creator>
      <dc:date>2015-12-10T08:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: NodeManager memory setting best practice?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98346#M61473</link>
      <description>&lt;P&gt;2GB (i wonder why this system has min char limit which doesn't allow me to just type "2GB")&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 10:38:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98346#M61473</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2015-12-10T10:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: NodeManager memory setting best practice?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98347#M61474</link>
      <description>&lt;P&gt;@Hajime - The best way to find the nodemanager heap size and other memory settings is to calculate it specifically for your cluster size and hardware spec. Here is the utility that you can use - &lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_installing_manually_book/content/determine-hdp-memory-config.html"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-...&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;Snippet &lt;/PRE&gt;&lt;P&gt;&lt;CODE&gt;hdp-configuration-utils.sh options &lt;/CODE&gt;where options are as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table 1.1. hdp-configuration-utils.sh Options&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Option&lt;/P&gt;&lt;P&gt;Description&lt;/P&gt;-c CORESThe number of cores on each host.-m MEMORYThe amount of memory on each host in GB.-d DISKSThe number of disks on each host.-k HBASE"True" if HBase is installed, "False" if not.&lt;P&gt;The output recommendation is in this format - &lt;/P&gt;&lt;PRE&gt;Using cores=16 memory=64GB disks=4 hbase=True
Profile: cores=16 memory=49152MB reserved=16GB usableMem=48GB disks=4 
Num Container=8
Container Ram=6144MB 
Used Ram=48GB
Unused Ram=16GB
yarn.scheduler.minimum-allocation-mb=6144 
yarn.scheduler.maximum-allocation-mb=49152 
yarn.nodemanager.resource.memory-mb=49152 
mapreduce.map.memory.mb=6144 
mapreduce.map.java.opts=-Xmx4096m 
mapreduce.reduce.memory.mb=6144 
mapreduce.reduce.java.opts=-Xmx4096m 
yarn.app.mapreduce.am.resource.mb=6144 
yarn.app.mapreduce.am.command-opts=-Xmx4096m 
mapreduce.task.io.sort.mb=1792 
tez.am.resource.memory.mb=6144 
tez.am.launch.cmd-opts =-Xmx4096m 
hive.tez.container.size=6144 
hive.tez.java.opts=-Xmx4096m
hive.auto.convert.join.noconditionaltask.size=1342177000&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Dec 2015 10:39:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98347#M61474</guid>
      <dc:creator>bsaini</dc:creator>
      <dc:date>2015-12-10T10:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: NodeManager memory setting best practice?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98348#M61475</link>
      <description>&lt;P&gt;Thanks! but if i understand this correctly, it does not show NodeManager itself's heap (Xmx), does it?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 10:42:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98348#M61475</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2015-12-10T10:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: NodeManager memory setting best practice?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98349#M61476</link>
      <description>&lt;P&gt;Hajime, the above scripts are for the yarn container and mapreduce memory settings. If you are trying to configure the memory of the nodemanager process itself then that shouldn't need more than 2GB - 4GB. If you are seeing outOfMemory there I suggest you turn on verbose GC for the nodemanager process and review the GC logs.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 12:14:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NodeManager-memory-setting-best-practice/m-p/98349#M61476</guid>
      <dc:creator>kmungee</dc:creator>
      <dc:date>2015-12-10T12:14:19Z</dc:date>
    </item>
  </channel>
</rss>

