<?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: Dynamic memory allocation in a virtual machine environment in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Dynamic-memory-allocation-in-a-virtual-machine-environment/m-p/129904#M23036</link>
    <description>&lt;P&gt;Hello Benjamin,&lt;/P&gt;&lt;P&gt;many thanks for your explanations. I will Forward it to the Hyper-V admin.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Klaus&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2016 11:44:05 GMT</pubDate>
    <dc:creator>Int17</dc:creator>
    <dc:date>2016-03-17T11:44:05Z</dc:date>
    <item>
      <title>Dynamic memory allocation in a virtual machine environment</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Dynamic-memory-allocation-in-a-virtual-machine-environment/m-p/129902#M23034</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm new with Hadoop and I have a design question:&lt;/P&gt;&lt;P&gt;We plan to install Hadoop under Ubuntu on Hyper-V machines. The Hyper-V admin defined a default memory allocation of 1GB and a maximum allocation of 32GB. Is the Hadoop framework able to allocate the additional 31GB if needed?&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:09:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Dynamic-memory-allocation-in-a-virtual-machine-environment/m-p/129902#M23034</guid>
      <dc:creator>Int17</dc:creator>
      <dc:date>2022-09-16T10:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic memory allocation in a virtual machine environment</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Dynamic-memory-allocation-in-a-virtual-machine-environment/m-p/129903#M23035</link>
      <description>&lt;P&gt;Hi Klaus,&lt;/P&gt;&lt;P&gt;Hadoop on 1GB doesn't make much sense. Also YARN is not really flexible when it comes to memory allocation. The nodemanagers get a maximum of memory they can use to schedule yarn tasks ( mapreduce, spark, ... )  &lt;A href="https://www.google.com/search?client=safari&amp;amp;rls=en&amp;amp;q=yarn.nodemanager.resource.memory-mb&amp;amp;ie=UTF-8&amp;amp;oe=UTF-8"&gt;yarn.nodemanager.resource.memory-mb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And a minimum which is also the multiple of task slots available&lt;/P&gt;&lt;P&gt;yarn.scheduler.minimum-allocation-mb&lt;/P&gt;&lt;P&gt;So if you have a maximum of 16GB and a minimum of 1GB he can give out up to 16 task slots to applications.&lt;/P&gt;&lt;P&gt;But AFAIK there is no way to dynamically change that without restarting the nodemanagers.&lt;/P&gt;&lt;P&gt;Yarn makes sure no task exceeds the slots it is provided but it doesn't give a damn about Operation System limits. So if you give your VM 4GB and set the yarn memory to 32GB yarn will happily schedule tasks till your system goes to its knees. You can of course enable swapping but that will result in bad performance.&lt;/P&gt;&lt;P&gt;So summary: Flexible memory settings on a nodemanager node is not a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 18:40:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Dynamic-memory-allocation-in-a-virtual-machine-environment/m-p/129903#M23035</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-03-16T18:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic memory allocation in a virtual machine environment</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Dynamic-memory-allocation-in-a-virtual-machine-environment/m-p/129904#M23036</link>
      <description>&lt;P&gt;Hello Benjamin,&lt;/P&gt;&lt;P&gt;many thanks for your explanations. I will Forward it to the Hyper-V admin.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Klaus&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 11:44:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Dynamic-memory-allocation-in-a-virtual-machine-environment/m-p/129904#M23036</guid>
      <dc:creator>Int17</dc:creator>
      <dc:date>2016-03-17T11:44:05Z</dc:date>
    </item>
  </channel>
</rss>

