<?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: YARN - VCores max in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-VCores-max/m-p/97847#M11327</link>
    <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/149/skumpf.html" nodeid="149"&gt;@Shane Kumpf&lt;/A&gt;, it's been a while since I wanted to clarify it, totally clear now.&lt;/P&gt;&lt;P&gt;Have you seen people using: &lt;EM&gt;DominantResourceCalculator? This one makes much more sense to me.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2015 05:05:22 GMT</pubDate>
    <dc:creator>gbraccialli3</dc:creator>
    <dc:date>2015-12-04T05:05:22Z</dc:date>
    <item>
      <title>YARN - VCores max</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-VCores-max/m-p/97845#M11325</link>
      <description>&lt;P&gt;Can yarn allocate more vcores (containers) than cluster VCores Total (sum of all node manager: yarn.nodemanager.resource.cpu-cores)?&lt;/P&gt;&lt;P&gt;In my tests only memory is limiting applications to get accepted and execute containers. I expected it be limited by both, Memory and Vcores available.&lt;/P&gt;&lt;P&gt;See screenshot below where "VCores used" is greater than "VCores total".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="611-yarn-vcores.png" style="width: 2472px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23941i6E9F55A5C1257DA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="611-yarn-vcores.png" alt="611-yarn-vcores.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:44:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-VCores-max/m-p/97845#M11325</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2019-08-19T12:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: YARN - VCores max</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-VCores-max/m-p/97846#M11326</link>
      <description>&lt;P&gt;DefaultResourceCalculator only takes memory into account. Here is a brief explanation of what you are seeing (relevant part bolded).&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;H3&gt;Pluggable resource-vector in YARN scheduler&lt;/H3&gt;&lt;P&gt;The &lt;EM&gt;CapacityScheduler&lt;/EM&gt; has the concept of a &lt;EM&gt;ResourceCalculator&lt;/EM&gt; – a pluggable layer that is used for carrying out the math of allocations by looking at all the identified resources. This includes utilities to help make the following decisions:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Does &lt;EM&gt;this&lt;/EM&gt; node have enough resources of each resource-type to satisfy &lt;EM&gt;this&lt;/EM&gt; request?&lt;/LI&gt;&lt;LI&gt;How many containers can I fit on &lt;EM&gt;this&lt;/EM&gt; node, sorting a list of nodes with varying resources available.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There are two kinds of calculators currently available in YARN – the &lt;EM&gt;DefaultResourceCalculator&lt;/EM&gt; and the&lt;EM&gt;DominantResourceCalculator&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The &lt;EM&gt;DefaultResourceCalculator&lt;/EM&gt; only takes memory into account when doing its calculations. This is why CPU requirements are ignored when carrying out allocations in the CapacityScheduler by default.&lt;/STRONG&gt; All the math of allocations is reduced to just examining the memory required by resource-requests and the memory available on the node that is being looked at during a specific scheduling-cycle.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You can find more on this topic on our blog:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://hortonworks.com/blog/managing-cpu-resources-in-your-hadoop-yarn-clusters/"&gt;managing-cpu-resources-in-your-hadoop-yarn-clusters&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 04:52:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-VCores-max/m-p/97846#M11326</guid>
      <dc:creator>skumpf</dc:creator>
      <dc:date>2015-12-04T04:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: YARN - VCores max</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-VCores-max/m-p/97847#M11327</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/149/skumpf.html" nodeid="149"&gt;@Shane Kumpf&lt;/A&gt;, it's been a while since I wanted to clarify it, totally clear now.&lt;/P&gt;&lt;P&gt;Have you seen people using: &lt;EM&gt;DominantResourceCalculator? This one makes much more sense to me.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 05:05:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-VCores-max/m-p/97847#M11327</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-12-04T05:05:22Z</dc:date>
    </item>
  </channel>
</rss>

