<?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 Cannot read log files on applications started by LDAP users in YARN in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cannot-read-log-files-on-applications-started-by-LDAP-users/m-p/309985#M223985</link>
    <description>&lt;P&gt;When I try to look at logs from command `yarn logs -applicationId xxx`, some errors raised:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Response from the NodeManager:dp006:45454 WebService is not successful, HTTP error code: 500, Server response:&lt;BR /&gt;Exception reading log file. Application submitted by 'xxx' doesn't own requested log file : syslog&lt;BR /&gt;Can not get any logs for the log file: stderr&lt;BR /&gt;Response from the NodeManager:dp006:45454 WebService is not successful, HTTP error code: 500, Server response:&lt;BR /&gt;Exception reading log file. Application submitted by 'xxx' doesn't own requested log file : stderr&lt;BR /&gt;Can not get any logs for the log file: prelaunch.out&lt;BR /&gt;Response from the NodeManager:dp006:45454 WebService is not successful, HTTP error code: 500, Server response:&lt;BR /&gt;Exception reading log file. Application submitted by 'xxx' doesn't own requested log file : prelaunch.out&lt;BR /&gt;Can not get any logs for the log file: launch_container.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is similar to&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Cannot-read-log-files-on-applications-started-by-Active/td-p/214539" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Cannot-read-log-files-on-applications-started-by-Active/td-p/214539&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the exception is another one. From the node manager log, the error is something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;java.io.IOException: Owner 'infra-solr' for path /data02/hadoop/yarn/log/application_1610695610027_0516/container_e&lt;BR /&gt;11_1610695610027_0516_01_000002/prelaunch.out did not match expected owner 'xxx'&lt;BR /&gt;at org.apache.hadoop.io.SecureIOUtils.checkStat(SecureIOUtils.java:281)&lt;BR /&gt;at org.apache.hadoop.io.SecureIOUtils.forceSecureOpenForRead(SecureIOUtils.java:215)&lt;BR /&gt;at org.apache.hadoop.io.SecureIOUtils.openForRead(SecureIOUtils.java:200)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.webapp.ContainerLogsUtils.openLogFileForRead(ContainerLogsUtil&lt;BR /&gt;s.java:169)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.webapp.NMWebServices.getLogs(NMWebServices.java:467)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.webapp.NMWebServices.getContainerLogFile(NMWebServices.java:38&lt;BR /&gt;0)&lt;BR /&gt;at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;BR /&gt;at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$Response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is that why the log file owner is&amp;nbsp;'infra-solr', is it copied by ‘infra-solr’ from somewhere else?&lt;/P&gt;&lt;P&gt;Hope someone could help, Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 09:34:32 GMT</pubDate>
    <dc:creator>BrightLiao</dc:creator>
    <dc:date>2021-01-19T09:34:32Z</dc:date>
    <item>
      <title>Cannot read log files on applications started by LDAP users in YARN</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-read-log-files-on-applications-started-by-LDAP-users/m-p/309985#M223985</link>
      <description>&lt;P&gt;When I try to look at logs from command `yarn logs -applicationId xxx`, some errors raised:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Response from the NodeManager:dp006:45454 WebService is not successful, HTTP error code: 500, Server response:&lt;BR /&gt;Exception reading log file. Application submitted by 'xxx' doesn't own requested log file : syslog&lt;BR /&gt;Can not get any logs for the log file: stderr&lt;BR /&gt;Response from the NodeManager:dp006:45454 WebService is not successful, HTTP error code: 500, Server response:&lt;BR /&gt;Exception reading log file. Application submitted by 'xxx' doesn't own requested log file : stderr&lt;BR /&gt;Can not get any logs for the log file: prelaunch.out&lt;BR /&gt;Response from the NodeManager:dp006:45454 WebService is not successful, HTTP error code: 500, Server response:&lt;BR /&gt;Exception reading log file. Application submitted by 'xxx' doesn't own requested log file : prelaunch.out&lt;BR /&gt;Can not get any logs for the log file: launch_container.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is similar to&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Cannot-read-log-files-on-applications-started-by-Active/td-p/214539" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Cannot-read-log-files-on-applications-started-by-Active/td-p/214539&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the exception is another one. From the node manager log, the error is something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;java.io.IOException: Owner 'infra-solr' for path /data02/hadoop/yarn/log/application_1610695610027_0516/container_e&lt;BR /&gt;11_1610695610027_0516_01_000002/prelaunch.out did not match expected owner 'xxx'&lt;BR /&gt;at org.apache.hadoop.io.SecureIOUtils.checkStat(SecureIOUtils.java:281)&lt;BR /&gt;at org.apache.hadoop.io.SecureIOUtils.forceSecureOpenForRead(SecureIOUtils.java:215)&lt;BR /&gt;at org.apache.hadoop.io.SecureIOUtils.openForRead(SecureIOUtils.java:200)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.webapp.ContainerLogsUtils.openLogFileForRead(ContainerLogsUtil&lt;BR /&gt;s.java:169)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.webapp.NMWebServices.getLogs(NMWebServices.java:467)&lt;BR /&gt;at org.apache.hadoop.yarn.server.nodemanager.webapp.NMWebServices.getContainerLogFile(NMWebServices.java:38&lt;BR /&gt;0)&lt;BR /&gt;at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:498)&lt;BR /&gt;at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;BR /&gt;at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$Response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is that why the log file owner is&amp;nbsp;'infra-solr', is it copied by ‘infra-solr’ from somewhere else?&lt;/P&gt;&lt;P&gt;Hope someone could help, Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 09:34:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-read-log-files-on-applications-started-by-LDAP-users/m-p/309985#M223985</guid>
      <dc:creator>BrightLiao</dc:creator>
      <dc:date>2021-01-19T09:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot read log files on applications started by LDAP users in YARN</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-read-log-files-on-applications-started-by-LDAP-users/m-p/310056#M224011</link>
      <description>&lt;P&gt;It's the same LDAP uid conflicts issue with this one:&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Hive-tez-vertex-failed-during-map-phase-HDP-3-1-4/td-p/309973" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Hive-tez-vertex-failed-during-map-phase-HDP-3-1-4/td-p/309973&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 03:10:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-read-log-files-on-applications-started-by-LDAP-users/m-p/310056#M224011</guid>
      <dc:creator>BrightLiao</dc:creator>
      <dc:date>2021-01-20T03:10:33Z</dc:date>
    </item>
  </channel>
</rss>

