<?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 HDP2.4.2 Spark jobs log can't be access in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP2-4-2-Spark-jobs-log-can-t-be-access/m-p/107658#M30065</link>
    <description>&lt;P&gt;I've enabled yarn ranger plugin under ambari.also configured yarn.admin.acl with "dr.who". but after I submit job, I found I can't access logs. It shows below:&lt;/P&gt;&lt;H1&gt;User [dr.who] is not authorized to view the logs for container_e18_1464594716018_0007_01_000001 in log file [host1_45454]&lt;/H1&gt;&lt;H1&gt;No logs available for container container_e18_1464594716018_0007_01_000001&lt;/H1&gt;&lt;P&gt;anyone has same problems?thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 30 May 2016 15:26:39 GMT</pubDate>
    <dc:creator>bigdatacn</dc:creator>
    <dc:date>2016-05-30T15:26:39Z</dc:date>
    <item>
      <title>HDP2.4.2 Spark jobs log can't be access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP2-4-2-Spark-jobs-log-can-t-be-access/m-p/107658#M30065</link>
      <description>&lt;P&gt;I've enabled yarn ranger plugin under ambari.also configured yarn.admin.acl with "dr.who". but after I submit job, I found I can't access logs. It shows below:&lt;/P&gt;&lt;H1&gt;User [dr.who] is not authorized to view the logs for container_e18_1464594716018_0007_01_000001 in log file [host1_45454]&lt;/H1&gt;&lt;H1&gt;No logs available for container container_e18_1464594716018_0007_01_000001&lt;/H1&gt;&lt;P&gt;anyone has same problems?thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 15:26:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP2-4-2-Spark-jobs-log-can-t-be-access/m-p/107658#M30065</guid>
      <dc:creator>bigdatacn</dc:creator>
      <dc:date>2016-05-30T15:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: HDP2.4.2 Spark jobs log can't be access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP2-4-2-Spark-jobs-log-can-t-be-access/m-p/107659#M30066</link>
      <description>&lt;P&gt;Please take a look at this post &lt;A href="https://community.hortonworks.com/questions/2349/tip-when-you-get-a-message-in-job-log-user-dr-who.html" target="_blank"&gt;https://community.hortonworks.com/questions/2349/tip-when-you-get-a-message-in-job-log-user-dr-who.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are different ways to fix this issue, one of which is to put hadoop.http.staticuser.user=yarn in core-site.xml. More details in the linked thread. &lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 02:16:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP2-4-2-Spark-jobs-log-can-t-be-access/m-p/107659#M30066</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-05-31T02:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: HDP2.4.2 Spark jobs log can't be access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP2-4-2-Spark-jobs-log-can-t-be-access/m-p/107660#M30067</link>
      <description>&lt;P&gt;I tried hadoop.http.staticuser.user=yarn in core-site.xml. it doesn't work on hdp2.4.2.&lt;/P&gt;&lt;P&gt;When I submit jobs with that setting. it will show some logs like below.&lt;/P&gt;&lt;P&gt;For more detailed output, check application tracking page:http://master02.com:8088/cluster/app/application_1464688798017_0006Then, click on links to logs of each attempt.
Diagnostics: Exception from container-launch.
Container id: container_e20_1464688798017_0006_02_000001
Exit code: 15
Stack trace: ExitCodeException exitCode=15:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:576)
at org.apache.hadoop.util.Shell.run(Shell.java:487)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:753)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:303)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 20:12:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP2-4-2-Spark-jobs-log-can-t-be-access/m-p/107660#M30067</guid>
      <dc:creator>bigdatacn</dc:creator>
      <dc:date>2016-05-31T20:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: HDP2.4.2 Spark jobs log can't be access</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP2-4-2-Spark-jobs-log-can-t-be-access/m-p/107661#M30068</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2361/w15409999.html" nodeid="2361"&gt;@henryon wen&lt;/A&gt;&lt;P&gt;There were multiple solution related to same issue, can you try setting below properties?&lt;/P&gt;&lt;P&gt;In yarn-site.xml if kerberos is enabled.&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
    &amp;lt;description&amp;gt;ACL of who can be admin of the YARN cluster.&amp;lt;/description&amp;gt;
    &amp;lt;name&amp;gt;yarn.admin.acl&amp;lt;/name&amp;gt;
    &amp;lt;value&amp;gt;dr.who&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;Also.&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
    &amp;lt;name&amp;gt;yarn.acl.enable&amp;lt;/name&amp;gt;
    &amp;lt;value&amp;gt;false&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 May 2016 21:37:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP2-4-2-Spark-jobs-log-can-t-be-access/m-p/107661#M30068</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-31T21:37:40Z</dc:date>
    </item>
  </channel>
</rss>

