<?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 yarn run logs - error getting logs at hostname:8041 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/yarn-run-logs-error-getting-logs-at-hostname-8041/m-p/371620#M241030</link>
    <description>&lt;P&gt;hello cloudera community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have a problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are not able to view the execution logs of the jobs that were executed in yarn by the resourcemanager of yarn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when we click on logs it presents the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Error getting logs at hostname:8041&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can we solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using &lt;STRONG&gt;cdh express 5.16.2&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 19:36:24 GMT</pubDate>
    <dc:creator>yagoaparecidoti</dc:creator>
    <dc:date>2023-05-26T19:36:24Z</dc:date>
    <item>
      <title>yarn run logs - error getting logs at hostname:8041</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-run-logs-error-getting-logs-at-hostname-8041/m-p/371620#M241030</link>
      <description>&lt;P&gt;hello cloudera community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have a problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are not able to view the execution logs of the jobs that were executed in yarn by the resourcemanager of yarn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when we click on logs it presents the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Error getting logs at hostname:8041&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can we solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using &lt;STRONG&gt;cdh express 5.16.2&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 19:36:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-run-logs-error-getting-logs-at-hostname-8041/m-p/371620#M241030</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2023-05-26T19:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: yarn run logs - error getting logs at hostname:8041</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-run-logs-error-getting-logs-at-hostname-8041/m-p/386677#M246114</link>
      <description>&lt;P&gt;There could be multiple cause of this issue.&lt;BR /&gt;But at first please check the permission of the log directory for that node manager.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Node Manager enforces that the remote root log directory exists and it has the correct permission settings. A warning is emitted in the Node Manager logs if the folder does not exist or exists but with incorrect permissions (e.g.&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;1777&lt;/FONT&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;If created, the directory’s owner and the group will be the same user as the Node Manager’s user, and group. The group is configurable, which is useful in scenarios where the Job History Server (or JHS in short) is running in a different UNIX group than the Node Manager that can prevent aggregated logs from being deleted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Because directly under the filesystem's root, each user has its own directory, everything under the user’s directory is created with&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;0770&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;permissions, so that only the specific user and the&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;hadoop&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;group are allowed to access those directories and files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Each individual aggregated log file will be created with&amp;nbsp;&lt;FONT face="courier new,courier"&gt;0640&lt;/FONT&gt;&amp;nbsp;permissions - providing&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;rw&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;access to the user and read-only access to the&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;hadoop&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;group. Since the directory has&amp;nbsp;&lt;FONT face="courier new,courier"&gt;0770&lt;/FONT&gt;&amp;nbsp;permission, the members of the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;hadoop&lt;/FONT&gt;&amp;nbsp;group will be able to delete these files, which is important for the automatic deletion&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 06:55:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-run-logs-error-getting-logs-at-hostname-8041/m-p/386677#M246114</guid>
      <dc:creator>AyazHussain</dc:creator>
      <dc:date>2024-04-17T06:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: yarn run logs - error getting logs at hostname:8041</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-run-logs-error-getting-logs-at-hostname-8041/m-p/386876#M246172</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;If my suggestion helped Please accept it as a solution&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 05:04:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-run-logs-error-getting-logs-at-hostname-8041/m-p/386876#M246172</guid>
      <dc:creator>AyazHussain</dc:creator>
      <dc:date>2024-04-22T05:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: yarn run logs - error getting logs at hostname:8041</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-run-logs-error-getting-logs-at-hostname-8041/m-p/386961#M246198</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102515"&gt;@AyazHussain&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since the problem is old, I don't remember what was done to fix it.&lt;/P&gt;&lt;P&gt;if the problem returns, I will test.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 17:24:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-run-logs-error-getting-logs-at-hostname-8041/m-p/386961#M246198</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2024-04-22T17:24:08Z</dc:date>
    </item>
  </channel>
</rss>

