<?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: CDH5.0 VM: Error getting logs for job_1404657916663_0001 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/77414#M2177</link>
    <description>&lt;P&gt;We were unable to access Spark app log files from either YARN or Spark History Server UIs, with error "Error getting logs at &amp;lt;worker_node&amp;gt;:8041".&amp;nbsp; We can see the logs with "yarn logs" command.&amp;nbsp; Turns out our &lt;FONT face="courier new,courier"&gt;yarn.nodemanager.remote-app-log-dir&lt;/FONT&gt; = &lt;FONT face="courier new,courier"&gt;/tmp/logs&lt;/FONT&gt;, but the directory was owned by "&lt;FONT face="courier new,courier"&gt;yarn:yarn&lt;/FONT&gt;".&amp;nbsp; Following your instruction fixed the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Miles&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jul 2018 20:29:06 GMT</pubDate>
    <dc:creator>MilesYao</dc:creator>
    <dc:date>2018-07-24T20:29:06Z</dc:date>
    <item>
      <title>CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/14732#M2170</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using CDH 5.0 Quickstart VM for VirtualBox. I run a mapreduce job and it completes successfully. The reduce code has several System.out.println statements which should be logged in the job log. But when I open logs in Hue&amp;gt;Jobbrowser, I get the error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error getting logs for job_1404657916663_0001&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I see the Hue logs in /var/log/hadoop-mapreduce/hadoop-cmf-yarn-JOBHISTORY-localhost.localdomain.log.out, I find exceptions like the one below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2014-07-06 08:18:20,767 ERROR org.apache.hadoop.yarn.webapp.View: Error getting logs for job_1404659730687_0001&lt;BR /&gt;org.apache.hadoop.security.AccessControlException: Permission denied: user=mapred, access=EXECUTE, inode="/tmp/logs/cloudera/logs":cloudera:supergroup:drwxrwx---&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkFsPermission(FSPermissionChecker.java:265)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:251)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse(FSPermissionChecker.java:205)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:168)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:5461)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:5443)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPathAccess(FSNamesystem.java:5405)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsUpdateTimes(FSNamesystem.java:1680)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInt(FSNamesystem.java:1632)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1612)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1586)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:482)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:322)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1026)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1986)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1982)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.security.AccessController.doPrivileged(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at javax.security.auth.Subject.doAs(Subject.java:415)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1980)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I do:&lt;/P&gt;&lt;P&gt;hdfs&amp;nbsp;dfs -chmod -R -777 /tmp/logs/cloudera&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drwxrwxrwx&amp;nbsp;&amp;nbsp; - cloudera supergroup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 2014-07-06 08:23 /tmp/logs/cloudera/logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I run the napreduce job again. I still get the same error in job browser.&lt;/P&gt;&lt;P&gt;The permissions to the log directory have reverted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drwxrwx---&amp;nbsp;&amp;nbsp; - cloudera supergroup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 2014-07-06 08:23 /tmp/logs/cloudera/logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should be done to get the logs for the job?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lohith.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 14:01:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/14732#M2170</guid>
      <dc:creator>mlsamaga</dc:creator>
      <dc:date>2026-04-21T14:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/14856#M2171</link>
      <description>Usually when I get this type of problem I reset the HDFS directory&lt;BR /&gt;structure like:&lt;BR /&gt;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH5/latest/CDH5-Quick-Start/cdh5qs_yarn_pseudo.html#topic_3_3_4_unique_1__title_32_unique_6"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH5/latest/CDH5-Quick-Start/cdh5qs_yarn_pseudo.html#topic_3_3_4_unique_1__title_32_unique_6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jul 2014 23:14:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/14856#M2171</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2014-07-08T23:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/14864#M2172</link>
      <description>&lt;P&gt;Hi Romain,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a&lt;/P&gt;&lt;P&gt;sudo -u hdfs hadoop fs -chown -R mapred:mapred /tmp/logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I ran jobs as 'Cloudera', no new logs were written to the above directory. In Hue, I got a message that no logs were available and aggregation may not have been complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I reverted as follows:&lt;/P&gt;&lt;P&gt;sudo -u hdfs hadoop fs -chown -R cloudera:supergroup /tmp/logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, when the jobs ran, log directories were created in /tmp/logs/cloudera/logs. However, in Hue, I get the original error message.&lt;/P&gt;&lt;P&gt;The new directories were created as below:&lt;/P&gt;&lt;P&gt;drwxrwx---&amp;nbsp;&amp;nbsp; - cloudera supergroup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 2014-07-09 04:03 /tmp/logs/cloudera/logs/application_1404900446410_0005&lt;BR /&gt;-rw-r-----&amp;nbsp;&amp;nbsp; 1 cloudera supergroup&amp;nbsp;&amp;nbsp;&amp;nbsp; 3755405 2014-07-09 04:03 /tmp/logs/cloudera/logs/application_1404900446410_0005/localhost.localdomain_8041&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The permissions are not correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the files in the tmp folder, I can see the log statements from my reduce program. But it is not available in Hue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2014 11:20:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/14864#M2172</guid>
      <dc:creator>mlsamaga</dc:creator>
      <dc:date>2014-07-09T11:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/26498#M2173</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I 'm having the same problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sudo -u hdfs hadoop fs -ls -R /tmp&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;but this didn't worked...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log files are written in the tmp folder, but hue is not finding them..&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:27:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/26498#M2173</guid>
      <dc:creator>AlinaGHERMAN</dc:creator>
      <dc:date>2015-04-15T07:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/27260#M2174</link>
      <description>&lt;P&gt;Greetings,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The proper perms are&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/tmp/logs should be 777 and should have sticky bit set (the 1 in the 1777, this makes all child directories inherit the group of parent dir aka hadoop).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chmod 1777 /tmp/logs&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chown mapred:hadoop /tmp/logs&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chgrp -R hadoop /tmp/logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this I would restart your JobHistory server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 13:33:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/27260#M2174</guid>
      <dc:creator>mageru9</dc:creator>
      <dc:date>2015-05-11T13:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/43781#M2175</link>
      <description>&lt;P&gt;Thank you &amp;nbsp;mageru9 . This worked!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The proper perms are&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/tmp/logs should be 777 and should have sticky bit set (the 1 in the 1777, this makes all child directories inherit the group of parent dir aka hadoop).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chmod 1777 /tmp/logs&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chown mapred:hadoop /tmp/logs&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chgrp -R hadoop /tmp/logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this I would restart your JobHistory server.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 22:42:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/43781#M2175</guid>
      <dc:creator>nitesh628</dc:creator>
      <dc:date>2016-08-10T22:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/52226#M2176</link>
      <description>&lt;P&gt;&amp;nbsp;Was unable to re direct completed spark jobs from yarn to spark history server even though all permissions and spark conf was set correctly.&lt;/P&gt;&lt;P&gt;Might be useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue was we were passing a spark.conf file while submitting the spark job hoping the config changes would be aggregated with default parameters from default spark.conf.&lt;BR /&gt;Turns out it overrides the default spark config file. Even if you pass blank spark conf it will not consider the default spark.conf for the job.&lt;BR /&gt;We had to below 3 lines on the custom spark conf file to enable log aggregation at spark history server and URL at resource manager to point to spark history server.&lt;BR /&gt;This has to be done with every spark job. If a job is submitted with below 3 parms it will not be available in spark history server even if u restart anything.&lt;BR /&gt;```spark.eventLog.enabled=true&lt;BR /&gt;spark.eventLog.dir=hdfs://nameservice1/user/spark/applicationHistory&lt;BR /&gt;spark.yarn.historyServer.address=&lt;A href="http://sparkhist-dev.visibleworld.com:18088" target="_blank"&gt;http://sparkhist-dev.visibleworld.com:18088&lt;/A&gt;```&lt;BR /&gt;&lt;A href="https://community.cloudera.com/t5/CDH-Manual-Installation/Permission-denied-user-mapred-access-WRITE-inode-quot-quot-hdfs/td-p/16318/page/2" target="_blank"&gt;https://community.cloudera.com/t5/CDH-Manual-Installation/Permission-denied-user-mapred-access-WRITE-inode-quot-quot-hdfs/td-p/16318/page/2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 01:24:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/52226#M2176</guid>
      <dc:creator>ABaaya</dc:creator>
      <dc:date>2017-03-16T01:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/77414#M2177</link>
      <description>&lt;P&gt;We were unable to access Spark app log files from either YARN or Spark History Server UIs, with error "Error getting logs at &amp;lt;worker_node&amp;gt;:8041".&amp;nbsp; We can see the logs with "yarn logs" command.&amp;nbsp; Turns out our &lt;FONT face="courier new,courier"&gt;yarn.nodemanager.remote-app-log-dir&lt;/FONT&gt; = &lt;FONT face="courier new,courier"&gt;/tmp/logs&lt;/FONT&gt;, but the directory was owned by "&lt;FONT face="courier new,courier"&gt;yarn:yarn&lt;/FONT&gt;".&amp;nbsp; Following your instruction fixed the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Miles&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 20:29:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/77414#M2177</guid>
      <dc:creator>MilesYao</dc:creator>
      <dc:date>2018-07-24T20:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/77430#M2178</link>
      <description>&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;</description>
      <pubDate>Wed, 25 Jul 2018 00:59:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/77430#M2178</guid>
      <dc:creator>mageru</dc:creator>
      <dc:date>2018-07-25T00:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: CDH5.0 VM: Error getting logs for job_1404657916663_0001</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/269654#M2179</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me it's happening while finding YARN logs using yarn logs command. The /tmp/logs directory is having below permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drwxrwxrwt - yarn yarn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But inside logs directory, the directories are having permission as below.&lt;/P&gt;&lt;P&gt;drwxrwxrwt - user/owner_of_directory yarn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your guidance will be helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 15:39:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH5-0-VM-Error-getting-logs-for-job-1404657916663-0001/m-p/269654#M2179</guid>
      <dc:creator>SatyamKumar</dc:creator>
      <dc:date>2019-09-03T15:39:00Z</dc:date>
    </item>
  </channel>
</rss>

