<?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 logs location on disk in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/yarn-logs-location-on-disk/m-p/59829#M37130</link>
    <description>&lt;P&gt;Not sure this information is available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could go with the "yarn logs" command&lt;/P&gt;&lt;P&gt;or go with the basic way using command line :&lt;/P&gt;&lt;P&gt;- pdsh to distribute the same command on every data-node&lt;/P&gt;&lt;P&gt;- launch a find on the container id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mathieu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2017 12:51:23 GMT</pubDate>
    <dc:creator>mathieu.d</dc:creator>
    <dc:date>2017-09-12T12:51:23Z</dc:date>
    <item>
      <title>yarn logs location on disk</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-logs-location-on-disk/m-p/59807#M37129</link>
      <description>&lt;P&gt;Is there a YARN API or command to know path to yarn logs location on disk for given container and application id ? Also want to add; we don't have log aggregation working and I'm perticularly looking for direct physical link to the file not the web interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:13:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-logs-location-on-disk/m-p/59807#M37129</guid>
      <dc:creator>sunilosunil</dc:creator>
      <dc:date>2022-09-16T12:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: yarn logs location on disk</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-logs-location-on-disk/m-p/59829#M37130</link>
      <description>&lt;P&gt;Not sure this information is available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could go with the "yarn logs" command&lt;/P&gt;&lt;P&gt;or go with the basic way using command line :&lt;/P&gt;&lt;P&gt;- pdsh to distribute the same command on every data-node&lt;/P&gt;&lt;P&gt;- launch a find on the container id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mathieu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 12:51:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-logs-location-on-disk/m-p/59829#M37130</guid>
      <dc:creator>mathieu.d</dc:creator>
      <dc:date>2017-09-12T12:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: yarn logs location on disk</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-logs-location-on-disk/m-p/59987#M37131</link>
      <description>&lt;P&gt;Finding logs manually in machine sound very brute force; I was thinking more of an API or CLI option to find logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway the main issue we're trying to solve is access to logs to all developers in prod environment. Our node managers are behind the bars and not accessible ( any port or web ) to develoeprs and it's unlikely to happen. So we're trying to find a way to proxy the logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I discovered that there is a jobhistory proxy to look at completed jobs / yarn apps but I coudln't get it working for running app. Is there any trick / way to access running app's logs like above ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resourcemanager.xyz.com:19888/jobhistory/logs//dataNode.com:8041/container_id_000001/container_id_000001/root" target="_blank"&gt;http://resourcemanager.xyz.com:19888/jobhistory/logs//dataNode.com:8041/container_id_000001/container_id_000001/root&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 16:43:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-logs-location-on-disk/m-p/59987#M37131</guid>
      <dc:creator>sunilosunil</dc:creator>
      <dc:date>2017-09-15T16:43:58Z</dc:date>
    </item>
  </channel>
</rss>

