<?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: problem with yarn from ambari dashboard in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227792#M70228</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you have not set it on your own then , I guess based on the Stack Advisor script as: &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/release-2.5.2/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py#L130" target="_blank"&gt;https://github.com/apache/ambari/blob/release-2.5.2/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py#L130&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;    putYarnProperty('yarn.nodemanager.resource.memory-mb', int(round(min(clusterData['containers'] * clusterData['ramPerContainer'], nodemanagerMinRam))))
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2017 15:41:29 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-10-25T15:41:29Z</dc:date>
    <item>
      <title>problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227791#M70227</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39937-capture.png" style="width: 1189px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15245iF4EC17C1C5DADC71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39937-capture.png" alt="39937-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;what could be the reason that yarn memory is very high? &lt;/P&gt;&lt;P&gt;any suggestion to verify this? &lt;/P&gt;&lt;P&gt;we have this value from ambari &lt;/P&gt;&lt;P&gt;yarn.scheduler.capacity.root.default.user-limit-factor=1&lt;/P&gt;&lt;P&gt;yarn.scheduler.minimum-allocation-mb=11776&lt;/P&gt;&lt;P&gt;yarn.scheduler.maximum-allocation-mb=122880&lt;/P&gt;&lt;P&gt;yarn.nodemanager.resource.memory-mb=120G&lt;/P&gt;&lt;PRE&gt;

 /usr/bin/yarn application -list -appStates RUNNING | grep  RUNNING


  Thrift JDBC/ODBC Server                SPARK          hive         default                 RUNNING               UNDEFINED                  10%              
  Thrift JDBC/ODBC Server                SPARK          hive         default                 RUNNING               UNDEFINED                  10%           
  mcMFM                                  SPARK          hdfs         default                 RUNNING               UNDEFINED                  10%             
  mcMassRepo                             SPARK          hdfs         default                 RUNNING               UNDEFINED                  10%           
  mcMassProfiling                        SPARK          hdfs         default                 RUNNING               UNDEFINED




free -g
              total        used        free      shared  buff/cache   available
Mem:             31          24           0           1           6           5
Swap:             7           0           7


&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Aug 2019 01:13:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227791#M70227</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-18T01:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227792#M70228</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you have not set it on your own then , I guess based on the Stack Advisor script as: &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/release-2.5.2/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py#L130" target="_blank"&gt;https://github.com/apache/ambari/blob/release-2.5.2/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py#L130&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;    putYarnProperty('yarn.nodemanager.resource.memory-mb', int(round(min(clusterData['containers'] * clusterData['ramPerContainer'], nodemanagerMinRam))))
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:41:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227792#M70228</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-25T15:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227793#M70229</link>
      <description>&lt;P&gt;do you mean that I need to change the yarn.nodemanager.resource.memory-m to other value? if yes how to calculate this value ?  ( or maybe we need to increase this value for example to 200G ) &lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 15:48:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227793#M70229</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-25T15:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227794#M70230</link>
      <description>&lt;P&gt;another question once I change this value - yarn.nodemanager.resource.memory-mbthe  , then yarn memory value  is now 100% will immediately decrease ? or need to do some other action to refresh it ?  &lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:04:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227794#M70230</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-25T16:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227795#M70231</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I will have to check with some Yarn experts. I will check and update.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:06:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227795#M70231</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-25T16:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227796#M70232</link>
      <description>&lt;P&gt;ok thank you waiting for your answer &lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:08:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227796#M70232</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-25T16:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227797#M70233</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;/A&gt; &lt;/P&gt;&lt;P&gt;This is the response i got from &lt;A rel="user" href="https://community.cloudera.com/users/10379/pjoseph.html" nodeid="10379"&gt;@pjoseph&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- The "yarn.nodemanager.resource.memory-mb" is NodeManager memory reserved for yarn tasks.&lt;BR /&gt;- So for example, the machine RAM is 300GB and you reserve 50GB for OS, Dameons and provide 250GB to yarn&lt;BR /&gt;- So i configure "yarn.nodemanager.resource.memory-mb" to 250GB&lt;BR /&gt;- Say i have 5 nodes, each node will register to RM once at startup&lt;BR /&gt;- So RM will have total memory 250 * 5 = 1250GB &lt;/P&gt;&lt;P&gt;- In case m increasing the yarn.nodemanager.resource.memory-mb value to 260GB and restarting NM now, 260 * 5 will be total&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:18:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227797#M70233</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-25T16:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227798#M70234</link>
      <description>&lt;P&gt;I update the question with more info ( like which application are runing under yarn and machine memory ) &lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:18:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227798#M70234</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-25T16:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227799#M70235</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@uri ben-ari&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can also have a look at the  "The HDP utility script is the recommended method for calculating HDP memory configuration settings"&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_command-line-installation/content/determine-hdp-memory-config.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_command-line-installation/content/determine-hdp-memory-config.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:22:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227799#M70235</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-25T16:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227800#M70236</link>
      <description>&lt;P&gt;so on each worker machine we have 32G ( lets say we allocate 7 to the OS )  so we have 25G , in my system we have 5 workers so this mean 25*5=125 , and this is actually what configured  , am I corect ?    ( we have in the cluster 3 master machines , 5 workers machines )  , in that case we need to increase each worker memory to at least 50G - am I correct ? and after that set the value of yarn.nodemanager.resource.memory-mb to 260G for example&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:27:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227800#M70236</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-25T16:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem with yarn from ambari dashboard</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227801#M70237</link>
      <description>&lt;P&gt;Jay not in this issue , but I will happy to get tour answer about my quastion from - &lt;A href="https://community.hortonworks.com/questions/142356/how-to-recover-the-standby-name-node-in-ambari-clu.html" target="_blank"&gt;https://community.hortonworks.com/questions/142356/how-to-recover-the-standby-name-node-in-ambari-clu.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:58:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/problem-with-yarn-from-ambari-dashboard/m-p/227801#M70237</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-10-25T16:58:50Z</dc:date>
    </item>
  </channel>
</rss>

