title: How to increase the number of containers in nodemanager in YARN
body: <p>A node in my YARN cluster has 64GB memory and 24 cores. I set the following properties in the yarn-site.xml:</p>
  
  <pre><code>&lt;property&gt;
    &lt;name&gt;yarn.nodemanager.resource.memory-mb&lt;/name&gt;
    &lt;value&gt;32768&lt;/value&gt;
  &lt;/property&gt;
  &lt;property&gt;
    &lt;name&gt;yarn.nodemanager.resource.cpu-vcores&lt;/name&gt;
    &lt;value&gt;16&lt;/value&gt;
  &lt;/property&gt;
  </code></pre>
  
  <p>But I found still the nodemanager in the node has only 7 containers. What are other properties I need to set? </p>