<?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 Application master gets stuck when it gets more then half available memory in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Application-master-gets-stuck-when-it-gets-more-then-half/m-p/31393#M7167</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run simple Sleep MapReduce job provided in HUE as job designer example. I execute given example from HUE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have single node pseudo cluster in docker. Docker is running on machine with 12288MB RAM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have:&lt;/P&gt;&lt;P&gt;yarn.nodemanager.resource.memory-mb=12288&lt;/P&gt;&lt;P&gt;yarn.scheduler.minimum-allocation-mb=256&lt;/P&gt;&lt;P&gt;yarn.scheduler.increment-allocation-mb=256&lt;/P&gt;&lt;P&gt;yarn.scheduler.maximum-allocation-mb=12288&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My job has only application master and one mapper. I tried different resource allocation for those two containers but in one case it is getting stuck and I don't have any explanation why. Here are the cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mapreduce.map.memory.mb=6144 and&amp;nbsp;yarn.app.mapreduce.am.resource.mb=6144 runs OK&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mapreduce.map.memory.mb=10240&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;yarn.app.mapreduce.am.resource.mb=512 runs OK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mapreduce.map.memory.mb=512 and&amp;nbsp;&lt;SPAN&gt;yarn.app.mapreduce.am.resource.mb=6145&amp;nbsp;gets STUCK IN ACCEPTED&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I've tried different cluster setup and I've discovered that when set&amp;nbsp;yarn.app.mapreduce.am.resource.mb more then half of the&amp;nbsp;yarn.nodemanager.resource.memory-mb application gets stuck.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have Cloudera 5.4.5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any idea why I see this behaviour?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 13:57:51 GMT</pubDate>
    <dc:creator>chalimartines</dc:creator>
    <dc:date>2026-04-21T13:57:51Z</dc:date>
    <item>
      <title>Application master gets stuck when it gets more then half available memory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Application-master-gets-stuck-when-it-gets-more-then-half/m-p/31393#M7167</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run simple Sleep MapReduce job provided in HUE as job designer example. I execute given example from HUE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have single node pseudo cluster in docker. Docker is running on machine with 12288MB RAM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have:&lt;/P&gt;&lt;P&gt;yarn.nodemanager.resource.memory-mb=12288&lt;/P&gt;&lt;P&gt;yarn.scheduler.minimum-allocation-mb=256&lt;/P&gt;&lt;P&gt;yarn.scheduler.increment-allocation-mb=256&lt;/P&gt;&lt;P&gt;yarn.scheduler.maximum-allocation-mb=12288&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My job has only application master and one mapper. I tried different resource allocation for those two containers but in one case it is getting stuck and I don't have any explanation why. Here are the cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mapreduce.map.memory.mb=6144 and&amp;nbsp;yarn.app.mapreduce.am.resource.mb=6144 runs OK&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mapreduce.map.memory.mb=10240&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;yarn.app.mapreduce.am.resource.mb=512 runs OK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mapreduce.map.memory.mb=512 and&amp;nbsp;&lt;SPAN&gt;yarn.app.mapreduce.am.resource.mb=6145&amp;nbsp;gets STUCK IN ACCEPTED&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I've tried different cluster setup and I've discovered that when set&amp;nbsp;yarn.app.mapreduce.am.resource.mb more then half of the&amp;nbsp;yarn.nodemanager.resource.memory-mb application gets stuck.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have Cloudera 5.4.5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any idea why I see this behaviour?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:57:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Application-master-gets-stuck-when-it-gets-more-then-half/m-p/31393#M7167</guid>
      <dc:creator>chalimartines</dc:creator>
      <dc:date>2026-04-21T13:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Application master gets stuck when it gets more then half available memory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Application-master-gets-stuck-when-it-gets-more-then-half/m-p/31417#M7168</link>
      <description>&lt;P&gt;What have you set for the&amp;nbsp;maxAMShare on the queue or in the scheduler default?&lt;/P&gt;&lt;P&gt;There is a setting called queueMaxAMShareDefault it defaults to 50% or 0.5f which means that a queue can not assign more than 50% of its resources to AM container(s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wilfred&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 12:18:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Application-master-gets-stuck-when-it-gets-more-then-half/m-p/31417#M7168</guid>
      <dc:creator>Wilfred</dc:creator>
      <dc:date>2015-09-01T12:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Application master gets stuck when it gets more then half available memory</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Application-master-gets-stuck-when-it-gets-more-then-half/m-p/31441#M7169</link>
      <description>&lt;P&gt;Thank you, that was it. I missed this property.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 18:34:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Application-master-gets-stuck-when-it-gets-more-then-half/m-p/31441#M7169</guid>
      <dc:creator>chalimartines</dc:creator>
      <dc:date>2015-09-01T18:34:00Z</dc:date>
    </item>
  </channel>
</rss>

