<?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: Amabri local users are not visible in user management page after upgrade to 2.5.x from 2.4 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207998#M169958</link>
    <description>&lt;P&gt;Users are back after following the steps suggested. Thanks for the quick response&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2017 20:35:42 GMT</pubDate>
    <dc:creator>vmaroli</dc:creator>
    <dc:date>2017-06-13T20:35:42Z</dc:date>
    <item>
      <title>Amabri local users are not visible in user management page after upgrade to 2.5.x from 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207993#M169953</link>
      <description>&lt;P&gt;Just upgraded ambari from 2.4.x to 2.5.x. Also upgraded HDP from 2.5.0.x to 2.6.0.3. Ambari user logins are not working except for admin user. All are local users. On login as admin, in user management view no users are displayed, but when tried to create user which was existing earlier, getting error that "User already exists".  What could be wrong. I have followed steps as in [1]&lt;/P&gt;&lt;P&gt;[1] - &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-upgrade/content/post_ambari_upgrade_tasks.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-upgrade/content/post_ambari_upgrade_tasks.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 19:34:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207993#M169953</guid>
      <dc:creator>vmaroli</dc:creator>
      <dc:date>2017-06-13T19:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Amabri local users are not visible in user management page after upgrade to 2.5.x from 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207994#M169954</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10443/vinurajmaroli.html" nodeid="10443"&gt;@Vinuraj M&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After restart ambari server put the ambari-server.log in tail and then try to login from ambari UI as "admin" user and then see if you get any error. Please share the log in case if you find any error/warning.&lt;/P&gt;&lt;PRE&gt;# tail -f /var/log/ambari-server/ambari-server.log&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 19:40:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207994#M169954</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-13T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Amabri local users are not visible in user management page after upgrade to 2.5.x from 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207995#M169955</link>
      <description>&lt;P&gt;Getting this exception.&lt;/P&gt;&lt;P&gt;13 Jun 2017 18:15:40,081 ERROR [ambari-client-thread-26] ReadHandler:102 - Caught a runtime exception executing a query
com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key 10.
  at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2348)
  at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2318)
  at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
  at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 19:48:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207995#M169955</guid>
      <dc:creator>vmaroli</dc:creator>
      <dc:date>2017-06-13T19:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Amabri local users are not visible in user management page after upgrade to 2.5.x from 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207996#M169956</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10443/vinurajmaroli.html" nodeid="10443"&gt;@Vinuraj M
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please try the following:&lt;/P&gt;&lt;STRONG&gt;Step1).&lt;/STRONG&gt;&lt;P&gt; Take ambari server DB dump.  (As we are going to modify the ambari DB entries), You might find that the mentioned resource is Zeppelin most probably. &lt;STRONG&gt; Because Zeppelin View is removed from Ambari 2.5 onwards. 
&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;select * from adminprivilege where resource_id = 10;

select * from adminresource where resource_id = 10;

select * from adminresourcetype where resource_type_id IN (select resource_type_id from adminresource where resource_id = 10);   
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Step2).&lt;/STRONG&gt; Delete the entries with &lt;STRONG&gt;key 10&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;SELECT adminresource.resource_id FROM adminresource LEFT OUTER JOIN viewinstance USING (resource_id) WHERE  adminresource.resource_type_id = 10 AND viewinstance.view_instance_id IS NULL; 

DELETE FROM adminprivilege where resource_id in (10);

DELETE FROM adminresource where resource_id in (10);
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Step3).&lt;/STRONG&gt; Now restart ambari server.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10443/vinurajmaroli.html" nodeid="10443"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 20:22:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207996#M169956</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-13T20:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Amabri local users are not visible in user management page after upgrade to 2.5.x from 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207997#M169957</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10443/vinurajmaroli.html" nodeid="10443"&gt;@Vinuraj M
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your issue looks related to :    &lt;A href="https://community.hortonworks.com/questions/103489/after-upgrading-ambari-from-242-to-250-not-able-to.html" target="_blank"&gt;https://community.hortonworks.com/questions/103489/after-upgrading-ambari-from-242-to-250-not-able-to.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10443/vinurajmaroli.html" nodeid="10443"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 20:24:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207997#M169957</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-13T20:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Amabri local users are not visible in user management page after upgrade to 2.5.x from 2.4</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207998#M169958</link>
      <description>&lt;P&gt;Users are back after following the steps suggested. Thanks for the quick response&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 20:35:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Amabri-local-users-are-not-visible-in-user-management-page/m-p/207998#M169958</guid>
      <dc:creator>vmaroli</dc:creator>
      <dc:date>2017-06-13T20:35:42Z</dc:date>
    </item>
  </channel>
</rss>

