<?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: Required AM memory(5273+527) is above the max threshold (3072 MB) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334618#M231829</link>
    <description>&lt;P&gt;AM Memory is from this property&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;yarn.app.mapreduce.am.resource.mb&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can set the am memory and tunning the value of the above property.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;I&gt;Make sure to mark the answer as the accepted solution. If it resolves your issue!&lt;/I&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 27 Jan 2022 05:37:03 GMT</pubDate>
    <dc:creator>Amithsha</dc:creator>
    <dc:date>2022-01-27T05:37:03Z</dc:date>
    <item>
      <title>Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334572#M231818</link>
      <description>&lt;P&gt;Hello everyone, i have a problem i set from Ambari those values:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class="keyword parmname"&gt;yarn.nodemanager.&lt;/SPAN&gt;&lt;SPAN class="keyword parmname"&gt;resource.memory-mb = 7820&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;yarn.scheduler.minimum-allocation-mb = 1024&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;yarn.scheduler.maximum-allocation-mb = 7820&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I restart Yarn but the same error keeps coming, why i can't have a bigger AM memory than 3072? Where this 3072 MB comes from?? Should i edit some other settings, cause i cant found any?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 12:32:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334572#M231818</guid>
      <dc:creator>loridigia</dc:creator>
      <dc:date>2022-01-26T12:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334618#M231829</link>
      <description>&lt;P&gt;AM Memory is from this property&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;yarn.app.mapreduce.am.resource.mb&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can set the am memory and tunning the value of the above property.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;I&gt;Make sure to mark the answer as the accepted solution. If it resolves your issue!&lt;/I&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Jan 2022 05:37:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334618#M231829</guid>
      <dc:creator>Amithsha</dc:creator>
      <dc:date>2022-01-27T05:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334627#M231837</link>
      <description>&lt;P&gt;I'm not using MapReduce actually, i'm using Spark, so i'm submitting via Spark-Submit.&lt;BR /&gt;In fact MapReduce&amp;nbsp;&lt;SPAN&gt;yarn.app.mapreduce.am.resource.mb is at 1 GB but the error says 3072.&lt;BR /&gt;&lt;BR /&gt;Is it possibile that modifing the Yarn values from Ambari doesn't actually update those values? Even after reboot?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 09:18:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334627#M231837</guid>
      <dc:creator>loridigia</dc:creator>
      <dc:date>2022-01-27T09:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334628#M231838</link>
      <description>&lt;P&gt;Can you try passing this spark config on your spark shell /spark submit&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;spark.yarn.am.memory=1g&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;I&gt;Make sure to mark the answer as the accepted solution. If it resolves your issue !&lt;/I&gt;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 09:59:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334628#M231838</guid>
      <dc:creator>Amithsha</dc:creator>
      <dc:date>2022-01-27T09:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334629#M231839</link>
      <description>&lt;P&gt;Hi, since i'm in Cluster Mode i set&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;spark.driver.memory = 6G&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;And it doesnt work since keep saying that maximum is 3072MB.&lt;BR /&gt;I tried on another cluster and actually changing yarn.nodemanager.resource.memory-mb and&amp;nbsp;yarn.scheduler.maximum-allocation-mb to a lower value than spark.driver.memory i obtain the same error as above. So at this point i guess that Yarn (on my cluster) doesn't update the parameters values.&lt;BR /&gt;I updated them from AMBARI and try to restart YARN&amp;nbsp; many times but nothing changed.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 10:10:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334629#M231839</guid>
      <dc:creator>loridigia</dc:creator>
      <dc:date>2022-01-27T10:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334630#M231840</link>
      <description>&lt;P&gt;Ideally in this case, increasing the&amp;nbsp;&lt;STRONG&gt;yarn.scheduler.maximum-allocation-mb&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;should solve. But from your comments i can understand that the changes are not reflecting on the yarn service. To confirm the same you can check via this&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://active_rm_hostname:8088/conf" target="_blank"&gt;http://active_rm_hostname:8088/conf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Under this url search for&amp;nbsp;&lt;STRONG&gt;yarn.scheduler.maximum-allocation-mb&amp;nbsp;&lt;/STRONG&gt;and check the value.&amp;nbsp;&lt;BR /&gt;Make sure the client configs are deployed via ambari. Check the status of YARN service in ambari.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 10:22:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334630#M231840</guid>
      <dc:creator>Amithsha</dc:creator>
      <dc:date>2022-01-27T10:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334631#M231841</link>
      <description>&lt;P&gt;Hi, thanks for the tip i checked but everything seems ok:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;property&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;yarn.scheduler.maximum-allocation-mb&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;15360&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;property&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I upgraded some minutes ago at 15360 MB and in fact it's there.&lt;BR /&gt;But still i keep get that error.&lt;BR /&gt;Yarn it's all good, no error no warning nothing.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Jan 2022 10:35:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334631#M231841</guid>
      <dc:creator>loridigia</dc:creator>
      <dc:date>2022-01-27T10:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334645#M231842</link>
      <description>&lt;P&gt;Yes the config changes are getting reflected on the services as expected. Can you post the complete error ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 11:57:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334645#M231842</guid>
      <dc:creator>Amithsha</dc:creator>
      <dc:date>2022-01-27T11:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334646#M231843</link>
      <description>&lt;P&gt;It's reported as "INFO", but then it doesnt submit the app on Yarn, remain stuck.&lt;BR /&gt;&lt;BR /&gt;INFO: 22/01/27 12:38:44 INFO Client: Verifying our application has not requested more than the maximum memory capability of the cluster (3072 MB per container),&lt;BR /&gt;&lt;BR /&gt;INFO: Exception in thread "main" java.lang.IllegalArgumentException: Required AM memory (5214+521 MB) is above the max threshold (3072 MB) of this cluster! Please increase the value of 'yarn.scheduler.maximum-allocation-mb'.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 12:41:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334646#M231843</guid>
      <dc:creator>loridigia</dc:creator>
      <dc:date>2022-01-27T12:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334649#M231846</link>
      <description>&lt;P&gt;I tried to set&amp;nbsp;&lt;SPAN&gt;yarn.scheduler.capacity.maximum-am-resource-percent to 1 but doesnt changed a bit.&lt;BR /&gt;I added from Ambari under custom yarn-site.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 13:05:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/334649#M231846</guid>
      <dc:creator>loridigia</dc:creator>
      <dc:date>2022-01-27T13:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn: Required AM memory(5273+527) is above the max threshold (3072 MB)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/336168#M232168</link>
      <description>&lt;P&gt;I&lt;SPAN&gt;NFO: Exception in thread "main" java.lang.IllegalArgumentException: Required AM memory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Above error is for AM and not for executors, hence you need to set the AM memory as&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;spark.yarn.am.memory=2g&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sun, 13 Feb 2022 06:42:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Yarn-Required-AM-memory-5273-527-is-above-the-max-threshold/m-p/336168#M232168</guid>
      <dc:creator>Amithsha</dc:creator>
      <dc:date>2022-02-13T06:42:02Z</dc:date>
    </item>
  </channel>
</rss>

