<?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: User not authorized to view YARN logs from ResourceManager UI in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316975#M226973</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88786"&gt;@Sayed016&lt;/a&gt;&amp;nbsp;I can see there is no "," after Yarn username, Can you try adding"," after yarn user name as shown below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;yarn.admin.acl=dr.who,user1,yarn,admingroup2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 23 May 2021 05:05:42 GMT</pubDate>
    <dc:creator>Scharan</dc:creator>
    <dc:date>2021-05-23T05:05:42Z</dc:date>
    <item>
      <title>User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316876#M226941</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are facing an issue in viewing YARN logs from Resource Manager UI. We have two HDP clusters. Cluster1 and Cluster2 have similar configurations. Cluster1 has no problem but getting the unauthorized issue from Cluster2 for viewing the YARN logs.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cluster1 (the good one) has the below configurations.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;yarn.acl.enable=true
yarn.admin.acl=yarn,user1 admingroup1,admingroup2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cluser2 (the bad one) has the below configurations.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;yarn.acl.enable=true
yarn.admin.acl=dr.who,user1,yarn admingroup2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note there are users in &lt;STRONG&gt;admingroup2&lt;/STRONG&gt; who want to view the YARN logs but not able to do so on Cluster2. It shows as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="post.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31243i9BF33D6A7B919BDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="post.png" alt="post.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please share if there are more things to check? Thank you for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 11:15:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316876#M226941</guid>
      <dc:creator>Sayed016</dc:creator>
      <dc:date>2021-05-21T11:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316963#M226964</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let us know what are the type of application logs you are viewing ? In case those are spark,&amp;nbsp; t&lt;SPAN class="s1"&gt;he application level ACLs need to be configured separately based on the application type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Custom spark2-defaults:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;spark.history.ui.admin.acls=*&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;spark.ui.view.acls=*&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;spark.ui.view.acls.groups=*&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;For Mapreduce &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Advanced mapred-site:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;mapreduce.job.acl-view-job=*&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 14:05:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316963#M226964</guid>
      <dc:creator>vamsi_redd</dc:creator>
      <dc:date>2021-05-22T14:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316970#M226969</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88786"&gt;@Sayed016&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you compare the values of the &lt;FONT color="#993300"&gt;yarn.admin.acl&lt;/FONT&gt; in the yarn-site.xml of both clusters? In my cluster its &lt;FONT color="#993300"&gt;activity_analyzer, yarn&lt;/FONT&gt; this is a comma-delimited value so now you can add the user who is not allowed in your case and restart the stale config and revert.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Yarn not allowed.JPG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31270iE58D85BD521C209D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Yarn not allowed.JPG" alt="Yarn not allowed.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your user should now be able to access the logs&lt;/P&gt;&lt;P&gt;Happy hadooping&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 20:51:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316970#M226969</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-05-22T20:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316975#M226973</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88786"&gt;@Sayed016&lt;/a&gt;&amp;nbsp;I can see there is no "," after Yarn username, Can you try adding"," after yarn user name as shown below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;yarn.admin.acl=dr.who,user1,yarn,admingroup2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 05:05:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316975#M226973</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2021-05-23T05:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316977#M226975</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As it's supposed a comma delimited user list YES and that and restart the config a nd let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 05:49:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/316977#M226975</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-05-23T05:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317044#M226998</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Surely and any user you want to access the Yarn UI . the only condition it should be comma-delimited.&lt;/P&gt;&lt;P&gt;Please do that are restart&amp;nbsp; the stale service and revert&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 20:00:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317044#M226998</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-05-24T20:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317146#M227030</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/72413"&gt;@vamsi_redd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. We want to have minimal access to the Job logs, that's why we are adding only the required group. Nevertheless, we do have these settings present for MapReduce and Spark for only the users/groups that are needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, we found that the issue was related to some kind of routing also we added the required users to the group (&lt;STRONG&gt;admingroup2&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;mapreduce.job.acl-view-job=admingroup2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 11:18:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317146#M227030</guid>
      <dc:creator>Sayed016</dc:creator>
      <dc:date>2021-05-26T11:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317147#M227031</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. Please note that there are groups too and the group name should be separated from the user name with space or else all will be treated as users. Source:&amp;nbsp;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/yarn-security/topics/yarn-admin-acl.html" target="_blank"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/yarn-security/topics/yarn-admin-acl.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 10:43:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317147#M227031</guid>
      <dc:creator>Sayed016</dc:creator>
      <dc:date>2021-05-26T10:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317148#M227032</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88786"&gt;@Sayed016&lt;/a&gt;&amp;nbsp;Thanks for the update, Are you able to view the logs now&amp;nbsp; after adding the required group ?&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 11:14:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317148#M227032</guid>
      <dc:creator>vamsi_redd</dc:creator>
      <dc:date>2021-05-26T11:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: User not authorized to view YARN logs from ResourceManager UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317149#M227033</link>
      <description>&lt;P&gt;I edited my solution above a bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We found that the issue was related to some kind of routing from Oozie WF to YARN logs. What we wanted was to view the logs from the Oozie WF manager.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When we access the logs from the YARN RM UI it works, but we couldn't able to view the logs directly from the Oozie WF manager. We already have the correct configurations present in the MapReduce service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 11:21:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/User-not-authorized-to-view-YARN-logs-from-ResourceManager/m-p/317149#M227033</guid>
      <dc:creator>Sayed016</dc:creator>
      <dc:date>2021-05-26T11:21:15Z</dc:date>
    </item>
  </channel>
</rss>

