<?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: Unable to view Ambari Alerts page content in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241536#M203339</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11157/rohitrsharma.html"&gt;@Rohit Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your recent error indicates that there is some inconsistency in your Ambari DB. Due to this inconsistency the Ambari UI for Alerts page is not showing any alert details.&lt;/P&gt;&lt;PRE&gt;Error Processing URI: /api/v1/clusters/cluster-name/alerts - (java.lang.NullPointerException) null&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can follow the below article to get this issue fixed.&lt;/P&gt;&lt;P&gt;Please make sure to take a fresh&lt;STRONG&gt; Amabri DB dump for backup &lt;/STRONG&gt;purpose before following the below article.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/174817/ambari-alert-page-is-invisible-on-ambari-screen.html"&gt;https://community.hortonworks.com/content/supportkb/174817/ambari-alert-page-is-invisible-on-ambari-screen.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After performing the steps mentioned in the above article please do not forget to&lt;STRONG&gt; restart Ambari Server.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 20:50:22 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2019-06-10T20:50:22Z</dc:date>
    <item>
      <title>Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241530#M203333</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;The configured HDP 2.6.3 cluster with Ambari 2.6 is unable to show contents inside the Alerts page.&lt;/P&gt;&lt;P&gt;Can anyone help me, how to find the RCA for the same?&lt;/P&gt;&lt;P&gt;Attaching screenshot of the Ambari Alerts Page:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109082-1559292125617.png" style="width: 1059px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13714i0FA42F04BC41E8ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109082-1559292125617.png" alt="109082-1559292125617.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How to monitor log ?  for this Alert page.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:13:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241530#M203333</guid>
      <dc:creator>rohit_r_sharma</dc:creator>
      <dc:date>2019-08-17T22:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241531#M203334</link>
      <description>&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="http://@Rohit%20Sharma" target="_blank"&gt;&lt;EM&gt;@Rohit Sharma &lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I suspect your ambari-server is overwhelmed. How long has your installation been in use? You should think of purging some old data.&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;SELECT table_schema "Database Name", SUM( data_length + index_length)/1024/1024 "Database Size (MB)" &lt;/EM&gt;
&lt;EM&gt;FROM information_schema.TABLES where table_schema = '&lt;STRONG&gt;mydb&lt;/STRONG&gt;';&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;The solution of &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/administering-ambari/content/amb_purge_ambari_server_database_history.html" target="_blank"&gt;purge ambari history by hortonworks&lt;/A&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You should be able to load your page after the above action. use the below statement to get the size of the ambari database &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 12:16:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241531#M203334</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-06-03T12:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241532#M203335</link>
      <description>&lt;P&gt;The above was originally posted in the &lt;A href="https://community.hortonworks.com/spaces/101/index.html"&gt;Community Help Track&lt;/A&gt;. On Tue Jun 4 03:36 UTC 2019, a member of the HCC moderation staff moved it to the &lt;A href="https://community.hortonworks.com/spaces/61/index.html"&gt;Cloud &amp;amp; Operations &lt;/A&gt; track. The &lt;EM&gt;Community Help Track&lt;/EM&gt; is intended for questions about using the HCC site itself.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 10:39:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241532#M203335</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2019-06-04T10:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241533#M203336</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11157/rohitrsharma.html" nodeid="11157"&gt;@Rohit Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In addition to Geoffrey's comment, Can you also tail the&lt;STRONG&gt; "/var/log/ambari-server/ambari-server.log"&lt;/STRONG&gt;  and then try to hit the Ambari UI Alert page again and then see if it shows any WARNING / Error there?&lt;BR /&gt;&lt;BR /&gt;When you hit the Alert page in Ambari UI then do you see any error/failure in the Browser debugger console?&lt;/P&gt;&lt;P&gt;Chrome Browser Menu --&amp;gt; More Tools --&amp;gt; Developer Tools --&amp;gt; Console (Tab)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also please try to open browser in Incognito mode in order to isolate if it has any Browser caching issue?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Also it will be good to see if your Ambari Server is having enough resources like it has sufficient menory..etc. You can refer to the following doc to find out how to check the AmbariServer memory settings and see the current memory usage: &lt;A href="https://community.hortonworks.com/articles/131670/ambari-server-performance-tuning-troubleshooting-c.html"&gt;https://community.hortonworks.com/articles/131670/ambari-server-performance-tuning-troubleshooting-c.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;/usr/jdk64/jdk1.8.0_112/bin/jmap -heap $AMBARI_SERVER_PID&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 10:55:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241533#M203336</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-06-04T10:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241534#M203337</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418" target="_blank"&gt;@Jay Kumar SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st&lt;/STRONG&gt; Point ambari-server.log : Error Processing URI: /api/v1/clusters/cluster-name/alerts - (java.lang.NullPointerException) null&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109332-1560168120879.png" style="width: 1122px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13712iF3F57B956016C330/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109332-1560168120879.png" alt="109332-1560168120879.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2nd&lt;/STRONG&gt; Incognito Browser- Console (Tab) &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109333-1560168322710.png" style="width: 501px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13713i3B861C4DBDAD607E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109333-1560168322710.png" alt="109333-1560168322710.png" /&gt;&lt;/span&gt;&lt;STRONG&gt;3rd&lt;/STRONG&gt; There is enough memory for Ambari-Server to function approx 166GB is Available.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4th&lt;/STRONG&gt; With the help of your link above there is no log in ambari server saying exceeded Java Heap Size.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The error in ambari-server is Java Null Pointer Exception null running alerts tab.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please Suggest.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:12:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241534#M203337</guid>
      <dc:creator>rohit_r_sharma</dc:creator>
      <dc:date>2019-08-17T22:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241535#M203338</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The ambari-server DB was created on 2018-09-04 20:10:19.&lt;/P&gt;&lt;P&gt;The size of table schema ambari which belongs to ambari-server is 294 MB. Do you really think I need to purge the schema?&lt;/P&gt;&lt;P&gt;Should the ambari-server schema size have a limit? If it is so How to limit it? OR automate purging?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 20:06:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241535#M203338</guid>
      <dc:creator>rohit_r_sharma</dc:creator>
      <dc:date>2019-06-10T20:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241536#M203339</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11157/rohitrsharma.html"&gt;@Rohit Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your recent error indicates that there is some inconsistency in your Ambari DB. Due to this inconsistency the Ambari UI for Alerts page is not showing any alert details.&lt;/P&gt;&lt;PRE&gt;Error Processing URI: /api/v1/clusters/cluster-name/alerts - (java.lang.NullPointerException) null&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can follow the below article to get this issue fixed.&lt;/P&gt;&lt;P&gt;Please make sure to take a fresh&lt;STRONG&gt; Amabri DB dump for backup &lt;/STRONG&gt;purpose before following the below article.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/174817/ambari-alert-page-is-invisible-on-ambari-screen.html"&gt;https://community.hortonworks.com/content/supportkb/174817/ambari-alert-page-is-invisible-on-ambari-screen.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After performing the steps mentioned in the above article please do not forget to&lt;STRONG&gt; restart Ambari Server.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 20:50:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241536#M203339</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-06-10T20:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241537#M203340</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11157/rohitrsharma.html" nodeid="11157"&gt;@Rohit Sharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you find that the below query returned any record in your Ambari DB ?  If, yes then that explains about the issue and the above shared article should help in getting it fixed.&lt;/P&gt;&lt;PRE&gt;&lt;P&gt;select * from alert_current where history_id not in (select alert_id from alert_history);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 11:21:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241537#M203340</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-06-11T11:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241538#M203341</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The purging saved me.&lt;/P&gt;&lt;P&gt;Thanks a lot for the support.&lt;/P&gt;&lt;P&gt;It would be great if I can automate purging every 6 months, please let me know if there is any way to do it.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 18:28:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241538#M203341</guid>
      <dc:creator>rohit_r_sharma</dc:creator>
      <dc:date>2019-06-11T18:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view Ambari Alerts page content</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241539#M203342</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the support!!!&lt;/P&gt;&lt;P&gt;Yeah, there was inconsistency in Ambari-Server DB which was not allowing Alert to function on Ambari-UI.&lt;/P&gt;&lt;P&gt;The Ambari-server DB size was grown to 294 MB. By purging the last 6 months from DB and restarting the ambari functioned the Alerts back on Ambari-UI.&lt;/P&gt;&lt;P&gt;Would like to know in detail if this happens on PROD env what measures should be taken as an admin.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 18:37:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-view-Ambari-Alerts-page-content/m-p/241539#M203342</guid>
      <dc:creator>rohit_r_sharma</dc:creator>
      <dc:date>2019-06-11T18:37:05Z</dc:date>
    </item>
  </channel>
</rss>

