<?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: After upgrading ambari from 2.4.2 to 2.5.0, Not able to Login into Ambari WebUI in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178158#M61364</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;@nshelke&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Zeppelin View is removed from ambari 2.5 but looks like a reference stays there. &lt;/P&gt;&lt;P&gt;So please check if the &lt;STRONG&gt;"resource_id = 58"&lt;/STRONG&gt; is pointing to &lt;STRONG&gt;Zeppelin View&lt;/STRONG&gt;?   You can do this by running the following query on ambari DB.&lt;/P&gt;&lt;PRE&gt;select * from adminresourcetype where resource_type_id IN (select resource_type_id from adminresource where resource_id = 58);&lt;/PRE&gt;&lt;P&gt;If that is the case then please Take Ambari DB Dump and then run the following commands to clean the Zeppelin View reference:&lt;/P&gt;&lt;PRE&gt;DELETE FROM adminprivilege where resource_id in (58);
DELETE FROM adminresource where resource_id in (58);&lt;/PRE&gt;&lt;P&gt;
Then restart Ambari Server&lt;/P&gt;&lt;PRE&gt;# ambari-server stop
# ambari-server start&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 16:02:05 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-05-18T16:02:05Z</dc:date>
    <item>
      <title>After upgrading ambari from 2.4.2 to 2.5.0, Not able to Login into Ambari WebUI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178155#M61361</link>
      <description>&lt;P&gt;I have upgrade Ambari from 2.4.2 to 2.5.0, After that I am not able to login into ambari getting following error in ambari-server.log file,&lt;/P&gt;&lt;P&gt;18 May 2017 07:56:33,975 ERROR [ambari-client-thread-26] ContainerResponse:419 - The RuntimeException could not be mapped to a response, re-throwing to the HTTP container&lt;/P&gt;&lt;P&gt;com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key 58.&lt;/P&gt;&lt;P&gt;        at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2348)&lt;/P&gt;&lt;P&gt;        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2318)&lt;/P&gt;&lt;P&gt;        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)&lt;/P&gt;&lt;P&gt;        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)&lt;/P&gt;&lt;P&gt;        at org.apache.ambari.server.security.AbstractSecurityHeaderFilter.doFilter(AbstractSecurityHeaderFilter.java:125)&lt;/P&gt;&lt;P&gt;        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)&lt;/P&gt;&lt;P&gt;        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)&lt;/P&gt;&lt;P&gt;        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:231)&lt;/P&gt;&lt;P&gt;        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)&lt;/P&gt;&lt;P&gt;        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)&lt;/P&gt;&lt;P&gt;        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)&lt;/P&gt;&lt;P&gt;        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)&lt;/P&gt;&lt;P&gt;        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)&lt;/P&gt;&lt;P&gt;        at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;P&gt;18 May 2017 07:56:33,977  WARN [ambari-client-thread-26] ServletHandler:561 - Error Processing URI: /api/v1/users/admin - (com.google.common.cache.CacheLoader$InvalidCacheLoadException) CacheLoader returned null for key 58.&lt;/P&gt;&lt;P&gt;18 May 2017 07:56:33,977  WARN [ambari-client-thread-26] ServletHandler:561 - Error Processing URI: /api/v1/users/admin - (com.google.common.cache.CacheLoader$InvalidCacheLoadException) CacheLoader returned null for key 58.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/15542-screen-shot-2017-05-18-at-12654-pm.png"&gt;screen-shot-2017-05-18-at-12654-pm.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 15:53:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178155#M61361</guid>
      <dc:creator>nshelke</dc:creator>
      <dc:date>2017-05-18T15:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading ambari from 2.4.2 to 2.5.0, Not able to Login into Ambari WebUI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178156#M61362</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;@nshelke&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you also see a NullPointerException something like following in your ambari server log?   &lt;/P&gt;&lt;PRE&gt;java.lang.NullPointerException
	at org.apache.ambari.server.security.authorization.PermissionHelper.getPermissionLabels&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Can you please share the complete stackTrace in that case?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 15:56:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178156#M61362</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-18T15:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading ambari from 2.4.2 to 2.5.0, Not able to Login into Ambari WebUI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178157#M61363</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt;&lt;P&gt;Yes, I can see some Exceptions are like this,&lt;/P&gt;&lt;P&gt;18 May 2017 07:56:33,754  WARN [ambari-client-thread-26] PermissionHelper:78 - Error occurred when cluster or view is searched based on resource id&lt;/P&gt;&lt;P&gt;java.lang.NullPointerException&lt;/P&gt;&lt;P&gt;at org.apache.ambari.server.security.authorization.PermissionHelper.getPermissionLabels(PermissionHelper.java:74)&lt;/P&gt;&lt;P&gt;I guess it is the same Exception you said.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 15:58:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178157#M61363</guid>
      <dc:creator>nshelke</dc:creator>
      <dc:date>2017-05-18T15:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading ambari from 2.4.2 to 2.5.0, Not able to Login into Ambari WebUI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178158#M61364</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;@nshelke&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Zeppelin View is removed from ambari 2.5 but looks like a reference stays there. &lt;/P&gt;&lt;P&gt;So please check if the &lt;STRONG&gt;"resource_id = 58"&lt;/STRONG&gt; is pointing to &lt;STRONG&gt;Zeppelin View&lt;/STRONG&gt;?   You can do this by running the following query on ambari DB.&lt;/P&gt;&lt;PRE&gt;select * from adminresourcetype where resource_type_id IN (select resource_type_id from adminresource where resource_id = 58);&lt;/PRE&gt;&lt;P&gt;If that is the case then please Take Ambari DB Dump and then run the following commands to clean the Zeppelin View reference:&lt;/P&gt;&lt;PRE&gt;DELETE FROM adminprivilege where resource_id in (58);
DELETE FROM adminresource where resource_id in (58);&lt;/PRE&gt;&lt;P&gt;
Then restart Ambari Server&lt;/P&gt;&lt;PRE&gt;# ambari-server stop
# ambari-server start&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:02:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178158#M61364</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-18T16:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading ambari from 2.4.2 to 2.5.0, Not able to Login into Ambari WebUI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178159#M61365</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;@nshelke
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I corrected the respurce id as 58 in the command.&lt;/P&gt;&lt;PRE&gt;resource_id in(58);&lt;/PRE&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:04:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178159#M61365</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-18T16:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading ambari from 2.4.2 to 2.5.0, Not able to Login into Ambari WebUI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178160#M61366</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I am using postgresql as embedded DB for ambari. Which database should I use for query. Is it ambari or postgres, please suggest.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:40:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178160#M61366</guid>
      <dc:creator>nshelke</dc:creator>
      <dc:date>2017-05-18T16:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading ambari from 2.4.2 to 2.5.0, Not able to Login into Ambari WebUI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178161#M61367</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;@nshelke
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are using embedded postgres DB the you should try:&lt;/P&gt;&lt;PRE&gt;# psql -U ambari ambari
Password for user ambari:  bigdata

&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;psql =&amp;gt; command&lt;/P&gt;&lt;P&gt;-U ambari =&amp;gt; is the username &lt;/P&gt;&lt;P&gt;ambari  =&amp;gt; is the DB name &lt;/P&gt;&lt;P&gt;It will ask for password, Where we can try using the ambari's default password as "bigdata"&lt;/P&gt;&lt;P&gt;If the password is changed then we can check the file.&lt;/P&gt;&lt;PRE&gt;# grep 'server.jdbc.user.passwd' /etc/ambari-server/conf/ambari.properties 
server.jdbc.user.passwd=/etc/ambari-server/conf/password.dat

# cat /etc/ambari-server/conf/password.dat
bigdata
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 16:48:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178161#M61367</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-18T16:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: After upgrading ambari from 2.4.2 to 2.5.0, Not able to Login into Ambari WebUI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178162#M61368</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;@nshelke
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Were you able to run the select query to findout the problematic resource?&lt;/P&gt;&lt;PRE&gt;select*from adminresourcetype where resource_type_id IN (select resource_type_id from adminresource where resource_id =58);&lt;/PRE&gt;&lt;P&gt;.
&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 17:20:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/After-upgrading-ambari-from-2-4-2-to-2-5-0-Not-able-to-Login/m-p/178162#M61368</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-18T17:20:16Z</dc:date>
    </item>
  </channel>
</rss>

