<?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 how to calculate the yarn.nodemanager.resource.cpu-vcores in ambari cluster in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-calculate-the-yarn-nodemanager-resource-cpu-vcores-in/m-p/207797#M74138</link>
    <description>&lt;P&gt;as I read from the doc ,yarn.nodemanager.resource.cpu-vcores are by default ~80% of total vCPUs available on the machine&lt;/P&gt;&lt;P&gt;so just to clear that&lt;/P&gt;&lt;P&gt;in case we have ambari cluster with 3 master machine and 3 workers )( machines , and each worker have 8 core&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;then the calculate will be 3X8=32 ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or maybe yarn.nodemanager.resource.cpu-vcores should be calculate per worker machine as: &lt;STRONG&gt;1X8=8 ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or else?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2018 22:49:35 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2018-01-31T22:49:35Z</dc:date>
    <item>
      <title>how to calculate the yarn.nodemanager.resource.cpu-vcores in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-calculate-the-yarn-nodemanager-resource-cpu-vcores-in/m-p/207797#M74138</link>
      <description>&lt;P&gt;as I read from the doc ,yarn.nodemanager.resource.cpu-vcores are by default ~80% of total vCPUs available on the machine&lt;/P&gt;&lt;P&gt;so just to clear that&lt;/P&gt;&lt;P&gt;in case we have ambari cluster with 3 master machine and 3 workers )( machines , and each worker have 8 core&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;then the calculate will be 3X8=32 ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or maybe yarn.nodemanager.resource.cpu-vcores should be calculate per worker machine as: &lt;STRONG&gt;1X8=8 ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or else?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 22:49:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-calculate-the-yarn-nodemanager-resource-cpu-vcores-in/m-p/207797#M74138</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-01-31T22:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate the yarn.nodemanager.resource.cpu-vcores in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-calculate-the-yarn-nodemanager-resource-cpu-vcores-in/m-p/207798#M74139</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;It will be 80% of your vCPUs on the machine. If you have 3 machines with 16 cores , then it will be 80% of 16 ie 12.8. It will take the floor value of 12.8 and set it as 12.&lt;/P&gt;&lt;P&gt;You can get the cpus by running the command&lt;/P&gt;&lt;PRE&gt;cat /proc/cpuinfo | grep processor | wc -l&lt;/PRE&gt;&lt;P&gt;If there are multiple node managers with different vCPU count , it will take the max of all the vCPUs&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 00:59:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-calculate-the-yarn-nodemanager-resource-cpu-vcores-in/m-p/207798#M74139</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-02-01T00:59:26Z</dc:date>
    </item>
  </channel>
</rss>

