<?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: Workaround for log aggregation bug in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136362#M99011</link>
    <description>&lt;P&gt;We don't have a dev cluster. I am the only one who needs the cluster today, so I can break stuff as long as it is put back together by tonight's ingest. &lt;/P&gt;&lt;P&gt;It sounds like that's the only way I'm going to get this to work...&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2016 00:44:34 GMT</pubDate>
    <dc:creator>zack_riesland</dc:creator>
    <dc:date>2016-02-11T00:44:34Z</dc:date>
    <item>
      <title>Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136347#M98996</link>
      <description>&lt;P&gt;We have log aggregation enabled in the Yarn configuration for our cluster (yarn.log-aggregation-enable).&lt;/P&gt;&lt;P&gt;But it doesn't seem to work.&lt;/P&gt;&lt;P&gt;When I try to drill into the history of a job in the resource manager GUI, the link for "logs" always takes me to a page that says: "aggregation is not enabled".&lt;/P&gt;&lt;P&gt;I've opened a ticket asking for help on this, and they told us we need to upgrade, so we did, but it didn't help.&lt;/P&gt;&lt;P&gt;I opened another ticket and am currently waiting for a response.&lt;/P&gt;&lt;P&gt;In the meantime, has anyone seen this?&lt;/P&gt;&lt;P&gt;Is there is a known hack to fix it?&lt;/P&gt;&lt;P&gt;Any advice about where to look for the solution?&lt;/P&gt;&lt;P&gt;We're currently on 2.2.8&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 23:29:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136347#M98996</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-10T23:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136348#M98997</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;
&lt;/P&gt;&lt;P&gt; did you follow this doc? &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_yarn_resource_mgt/content/ch_log_aggregation.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_yarn_resource_mgt/content/ch_log_aggregation.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;this should also give you some info &lt;A href="http://hortonworks.com/blog/simplifying-user-logs-management-and-access-in-yarn/" target="_blank"&gt;http://hortonworks.com/blog/simplifying-user-logs-management-and-access-in-yarn/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 23:49:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136348#M98997</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-10T23:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136349#M98998</link>
      <description>&lt;P&gt;Yes. It basically just says to set two config properties, which I did. &lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 23:57:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136349#M98998</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-10T23:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136350#M98999</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;&lt;P&gt; Please see this thread &lt;A href="https://community.hortonworks.com/questions/4719/yarn-logs-seems-to-be-truncated.html" target="_blank"&gt;https://community.hortonworks.com/questions/4719/yarn-logs-seems-to-be-truncated.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am afraid that you may not find something really useful. Please followup with the support suggestion.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:02:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136350#M98999</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-11T00:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136351#M99000</link>
      <description>&lt;P&gt;Have you tried to retrieve the logs using the YARN CLI?&lt;/P&gt;&lt;PRE&gt;yarn logs -applicationId &amp;lt;id of the application&amp;gt; &lt;/PRE&gt;&lt;P&gt;This will stream back the aggregated log to the screen ... if you have access in HDFS to see the log files. You will see a message about aggregation not being enabled if you lack permissions to see the log files. In that case, modify the command to use the application owner.&lt;/P&gt;&lt;PRE&gt;yarn logs -appOwner &amp;lt;user id&amp;gt; -applicationId &amp;lt;id of the application&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:09:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136351#M99000</guid>
      <dc:creator>TerryP</dc:creator>
      <dc:date>2016-02-11T00:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136352#M99001</link>
      <description>&lt;P&gt;I remember having this issue until I configured TimeLine Server. &lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_yarn_resource_mgt/content/ch_timeline_server.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_yarn_resource_mgt/content/ch_timeline_server.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:14:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136352#M99001</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T00:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136353#M99002</link>
      <description>&lt;P&gt;Latest doc &lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_yarn_resource_mgt/content/ref-ca0dc265-903c-418a-9145-2f39fb3f6dd4.1.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_yarn_resource_mgt/content/ref-ca0dc265-903c-418a-9145-2f39fb3f6dd4.1.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:16:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136353#M99002</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T00:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136354#M99003</link>
      <description>&lt;P&gt;Thanks Terry,&lt;/P&gt;&lt;P&gt;Both of these approaches work - I get back the relevant logs for a given application ID. &lt;/P&gt;&lt;P&gt;But I'm interested in (and tasked with) getting the UI links to work for simplicity of all the folks on our team.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:18:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136354#M99003</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-11T00:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136355#M99004</link>
      <description>&lt;P&gt;Thanks Artem,&lt;/P&gt;&lt;P&gt;Yes, this all seems to be setup correctly. I believe we had to tackle this a while back to get the Tez View working. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:21:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136355#M99004</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-11T00:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136356#M99005</link>
      <description>&lt;P&gt;And you migrated to 1.5 of TS? &lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:22:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136356#M99005</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T00:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136357#M99006</link>
      <description>&lt;P&gt;I'm not explicitly specifying  yarn.timeline-service.version, so I guess I'm running whatever the 2.2.8 default is. &lt;/P&gt;&lt;P&gt;Do you think I'll have better luck if I upgrade?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:26:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136357#M99006</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-11T00:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136358#M99007</link>
      <description>&lt;P&gt;I would either wait for support or try in dev cluster. &lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:33:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136358#M99007</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T00:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136359#M99008</link>
      <description>&lt;P&gt;I just got a reply from my support ticket and it was literally a link to this thread.&lt;/P&gt;&lt;P&gt;So I guess we better figure it out here! &lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:36:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136359#M99008</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-11T00:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136360#M99009</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt; if you have a dev cluster, try going step by step and enabling TS. Also look for any deprecated properties. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:39:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136360#M99009</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T00:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136361#M99010</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/553/mherring.html" nodeid="553"&gt;@Mark Herring&lt;/A&gt; FYI&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:43:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136361#M99010</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T00:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136362#M99011</link>
      <description>&lt;P&gt;We don't have a dev cluster. I am the only one who needs the cluster today, so I can break stuff as long as it is put back together by tonight's ingest. &lt;/P&gt;&lt;P&gt;It sounds like that's the only way I'm going to get this to work...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:44:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136362#M99011</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-11T00:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136363#M99012</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt; you can roll back to old configs when you are done and it doesn't work. Take some standard precautions like backup yarn-site.xml, etc. Definitely post your results here.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:50:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136363#M99012</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T00:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136364#M99013</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Another followup: &lt;/P&gt;&lt;P&gt;The instructions say:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;yarn.timeline-service.entity-group-fs-store.active-dir&lt;/CODE&gt; and &lt;CODE&gt;yarn.timeline-service.entity-group-fs-store.done-dir&lt;/CODE&gt; must exist on the cluster on HDFS. Active-dir should have permission 01777, owned by YARN, group admin-group. Done-dir should have permission 0700, owned by yarn, group admin-group.&lt;/P&gt;&lt;P&gt;2 things: &lt;/P&gt;&lt;P&gt;1) 01777 isn't a valid permission set&lt;/P&gt;&lt;P&gt;2) when it says 'admin-group', does it literally mean that the group should be set to 'admin-group', or just a group with admin privileges? Almost everything in HDFS seems to be in either 'hadoop' or 'hdfs'. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:53:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136364#M99013</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-02-11T00:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136365#M99014</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt; 1. I believe they mean 1777 which is a sticky bit. &lt;A href="https://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html"&gt;https://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-hdfs/HdfsPermissionsGuide.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. yes the group with admin privs not literally admin-group.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 01:06:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136365#M99014</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T01:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Workaround for log aggregation bug</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136366#M99015</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/2593/zackriesland.html"&gt;@Zack Riesland&lt;/A&gt; , thanks for looking at this with me over webex.  It turns out it was the ownership of the mr-history directory that was causing aggregation to not work on the web side, this needed to be owned by mapred and hdfs.  The initial failure to start was due to that incorrect class which we fixed.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 02:33:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Workaround-for-log-aggregation-bug/m-p/136366#M99015</guid>
      <dc:creator>iroberts</dc:creator>
      <dc:date>2016-02-12T02:33:41Z</dc:date>
    </item>
  </channel>
</rss>

