<?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: AM of the yarn rest api submitted job is unable to use the resources leading to failure of the application in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/AM-of-the-yarn-rest-api-submitted-job-is-unable-to-use-the/m-p/364607#M239198</link>
    <description>&lt;P&gt;I see a disabled&lt;SPAN&gt;&amp;nbsp;log aggregation for these applications. You can enable the log aggregation and look for possible reasons in the application logs.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;To view the entire log for an application&lt;BR /&gt;&lt;STRONG&gt;yarn logs -applicationId &amp;lt;application-id&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Below is a sample snippet of yarn-site.xml to enable log aggregation.&lt;BR /&gt;You can look up or add these properties in the&amp;nbsp;&lt;SPAN&gt;Hadoop management application (like cloudera-manager) as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;property&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;name&amp;gt;yarn.log-aggregation-enable&amp;lt;/name&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;/property&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;property&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;name&amp;gt;yarn.log-aggregation.retain-seconds&amp;lt;/name&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;value&amp;gt;604800&amp;lt;/value&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;/property&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;property&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;name&amp;gt;yarn.log-aggregation.retain-check-interval-seconds&amp;lt;/name&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;value&amp;gt;3600&amp;lt;/value&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;/property&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Feb 2023 13:08:35 GMT</pubDate>
    <dc:creator>Asok</dc:creator>
    <dc:date>2023-02-26T13:08:35Z</dc:date>
  </channel>
</rss>

