<?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: The link to Ambari View on Dashboard doesn't work properly in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228163#M84823</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;@Akhil S Naik&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The workaround works perfectly!&lt;BR /&gt;Thank you for all your kindness.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Tue, 13 Nov 2018 14:48:08 GMT</pubDate>
    <dc:creator>kei_miyauchi_</dc:creator>
    <dc:date>2018-11-13T14:48:08Z</dc:date>
    <item>
      <title>The link to Ambari View on Dashboard doesn't work properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228159#M84819</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm using Ambari 2.7.0.&lt;BR /&gt;I found that users who have a role "NONE" on their group can't connect to Ambari View with the link on dashboard even if their group are privileged.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;More detailed info:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Login as user who have a role "NONE", and click the link to Files View -&amp;gt; No, redirects to dashboard.&lt;BR /&gt;Login as user who have a role "NONE", and input url of Files View -&amp;gt; Yes&lt;BR /&gt;Login as user who have any role, and click the link to Files View -&amp;gt; Yes&lt;BR /&gt;Login as user who have any role, and click the link to Files View -&amp;gt; Yes&lt;BR /&gt;&lt;BR /&gt;I reproduced this with Ambari with/without Knox/Ranger. So I assume this is issues with Ambari itself.&lt;BR /&gt;&lt;BR /&gt;How could I fix it?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 11:54:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228159#M84819</guid>
      <dc:creator>kei_miyauchi_</dc:creator>
      <dc:date>2018-11-12T11:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: The link to Ambari View on Dashboard doesn't work properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228160#M84820</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/94241/kei-miyauchi.html" nodeid="94241"&gt;@Kei Miyauchi&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;whats the 'User's access'(privilage) you have given to the user. if you are able to see the files view button on the URL probably you will be able to open the files view. &lt;/P&gt;&lt;P&gt;It will be good if you can attach an screenshot of permissions given for user and corresponding group.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 12:10:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228160#M84820</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-11-12T12:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: The link to Ambari View on Dashboard doesn't work properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228161#M84821</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/users/18735/asnaik.html"&gt;@Akhil S Naik&lt;/A&gt;, thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;When
 I login as the user, I'm able to see the button. When I click it, at 
first it opens new tab for the File View URL, but redirects to the 
dashboard.&lt;BR /&gt;When I input the File View's URL and access directly it goes well. So it seems the button's issue.&lt;BR /&gt;&lt;BR /&gt;The
 user's role is "NONE", and it has a privilege for Files View inherited 
from its group. For now I don't give each user privileges because I 
wanna make it easy to manage. Should I give each user privilege if their
 role is "NONE"?&lt;BR /&gt;&lt;BR /&gt;The atattchments are screenshots of the setting for user and its group.&lt;BR /&gt;I also checked the setting of Files view. The group is surely listed on "Grant permission to these groups".&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7389i378721CF04672BE4/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="ws000012.jpg" title="ws000012.jpg" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7390iD0EB48FE7C90449D/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="ws000013.jpg" title="ws000013.jpg" /&gt;</description>
      <pubDate>Mon, 12 Nov 2018 14:15:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228161#M84821</guid>
      <dc:creator>kei_miyauchi_</dc:creator>
      <dc:date>2018-11-12T14:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: The link to Ambari View on Dashboard doesn't work properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228162#M84822</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/94241/kei-miyauchi.html" nodeid="94241"&gt;@Kei Miyauchi&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;This looks like a javascript bug to me. i have gone ahead and created a apache jira on the same : &lt;A href="https://issues.apache.org/jira/browse/AMBARI-24885" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-24885&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the fix for this issue is in javascript and you can find it in the jira.&lt;/P&gt;&lt;P&gt;Incase you want to implement the fix in your cluster.&lt;/P&gt;&lt;P&gt;Steps&lt;/P&gt;&lt;P&gt;1) go to &lt;/P&gt;&lt;PRE&gt;/usr/lib/ambari-server/web/javascripts&lt;/PRE&gt;&lt;P&gt;2)take backup of app.js&lt;/P&gt;&lt;PRE&gt;cp app.js app_backup.js_backup&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;3) edit app.js , go to line 95478 ,edit the line &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;if (App.router.currentState.name !== 'viewDetails') {&lt;/PRE&gt;&lt;P&gt;to&lt;/P&gt;&lt;PRE&gt;if (App.router.currentState.name !== 'viewDetails' &amp;amp;&amp;amp;  App.router.currentState.name !== 'shortViewDetails') {&lt;/PRE&gt;&lt;P&gt;4) and do a diff&lt;/P&gt;&lt;PRE&gt;[root@anaikhdp1 javascripts]# diff app.js  app_fix.js
95478c95478
&amp;lt;                     if (App.router.currentState.name !== 'viewDetails') {
---
&amp;gt;                     if (App.router.currentState.name !== 'viewDetails' &amp;amp;&amp;amp;  App.router.currentState.name !== 'shortViewDetails') {&lt;/PRE&gt;&lt;P&gt;5) reload the webpage. incase you find any difficulty please copy back the backedup app.js and reload the page to revert back the changes.&lt;/P&gt;&lt;P&gt;Please accept this anser if you find this helpfull which will help other users to get the fix.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 14:10:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228162#M84822</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-11-13T14:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: The link to Ambari View on Dashboard doesn't work properly</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228163#M84823</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;@Akhil S Naik&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The workaround works perfectly!&lt;BR /&gt;Thank you for all your kindness.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 14:48:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-link-to-Ambari-View-on-Dashboard-doesn-t-work-properly/m-p/228163#M84823</guid>
      <dc:creator>kei_miyauchi_</dc:creator>
      <dc:date>2018-11-13T14:48:08Z</dc:date>
    </item>
  </channel>
</rss>

