<?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: Ambari UI not displaying some Widgets and Actions !! in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210609#M69376</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44389/ambenatmane.html" nodeid="44389"&gt;@Amine Benatmane&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If it is fresh installation then please check the NameNode/DataNode logs to see if you find that the "timeline Sink" service is started properly or not?      And of from those NameNode/DataNode/Yarn hosts you are able to connect to the AMS collector host port as following:&lt;/P&gt;&lt;PRE&gt;# cd /var/log/hadoop/hdfs/
# find . -name "*.*" | xargs grep -i "Sink timeline started&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If iInk timeline is not started then you might be seeing some Connection Refused error in the component (NN/DN/RM/NM logs) logs so please verify of they have the correct AMS host port information mentioned isnide their following file:&lt;/P&gt;&lt;PRE&gt;# grep 'timeline.collector' /etc/hadoop/conf/hadoop-metrics2.properties 
# grep 'sink.timeline.port' /etc/hadoop/conf/hadoop-metrics2.properties&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please try to ping that host &amp;amp; port form the component (NN/DN/RM/NM) hosts like:&lt;/P&gt;&lt;PRE&gt;# nc -v $AMS_HOST  6188
(OR)
# telnet $AMS_HOST  6188&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also please check and share the&lt;EM&gt;&lt;STRONG&gt; "/var/log/ambari-metrics-collector/ambari-metrics-collector.log" &lt;/STRONG&gt;&lt;/EM&gt;to se eif there are any WARNING / ERROR mentioned.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also please check if the "&lt;STRONG&gt;/usr/lib/ambari-metrics-hadoop-sink/ambari-metrics-hadoop-sink-with-common*.jar&lt;/STRONG&gt;" JAR is loaded by the components like NameNode / DataNode?&lt;/P&gt;&lt;PRE&gt;# lsof -p `cat /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid `  | grep metrics
# lsof -p `cat /var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid`  | grep metrics
&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44389/ambenatmane.html" nodeid="44389"&gt;&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 23:10:07 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-10-10T23:10:07Z</dc:date>
    <item>
      <title>Ambari UI not displaying some Widgets and Actions !!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210606#M69373</link>
      <description>&lt;P&gt;I Deployed a HA Kerberized HDP 2.6 Cluster, using Ambari 2.5.2.0 via its REST API, everething works fine but Ambari UI is not displaying some Widgets and Actions !! I can't either add a new component via its UI.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6340i6EB4C2C64D41781E/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="ambari-dashboard.png" title="ambari-dashboard.png" /&gt;</description>
      <pubDate>Tue, 10 Oct 2017 22:44:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210606#M69373</guid>
      <dc:creator>am_benatmane</dc:creator>
      <dc:date>2017-10-10T22:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari UI not displaying some Widgets and Actions !!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210607#M69374</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44389/ambenatmane.html" nodeid="44389"&gt;@Amine Benatmane&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you also upgraded Ambari to 2.5.2 recently?&lt;/P&gt;&lt;P&gt;If yes then have you performed the Ambari Post Upgrade steps.... which includes upgrade AMS  i see that the AMS related widgets are not showing data:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Upgrading Ambari Metrics : &lt;/STRONG&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-upgrade/content/upgrade_ambari_metrics.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-upgrade/content/upgrade_ambari_metrics.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please verify the output of the following command is showing all ams binaries version also same as ambari server version:&lt;/P&gt;&lt;PRE&gt;# rpm -qa | grep ambari&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 22:49:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210607#M69374</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-10T22:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari UI not displaying some Widgets and Actions !!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210608#M69375</link>
      <description>&lt;P&gt;Hi @&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay SenSharma&lt;/A&gt;, No It's a fresh deployment !&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 22:58:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210608#M69375</guid>
      <dc:creator>am_benatmane</dc:creator>
      <dc:date>2017-10-10T22:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari UI not displaying some Widgets and Actions !!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210609#M69376</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44389/ambenatmane.html" nodeid="44389"&gt;@Amine Benatmane&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If it is fresh installation then please check the NameNode/DataNode logs to see if you find that the "timeline Sink" service is started properly or not?      And of from those NameNode/DataNode/Yarn hosts you are able to connect to the AMS collector host port as following:&lt;/P&gt;&lt;PRE&gt;# cd /var/log/hadoop/hdfs/
# find . -name "*.*" | xargs grep -i "Sink timeline started&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If iInk timeline is not started then you might be seeing some Connection Refused error in the component (NN/DN/RM/NM logs) logs so please verify of they have the correct AMS host port information mentioned isnide their following file:&lt;/P&gt;&lt;PRE&gt;# grep 'timeline.collector' /etc/hadoop/conf/hadoop-metrics2.properties 
# grep 'sink.timeline.port' /etc/hadoop/conf/hadoop-metrics2.properties&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Please try to ping that host &amp;amp; port form the component (NN/DN/RM/NM) hosts like:&lt;/P&gt;&lt;PRE&gt;# nc -v $AMS_HOST  6188
(OR)
# telnet $AMS_HOST  6188&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also please check and share the&lt;EM&gt;&lt;STRONG&gt; "/var/log/ambari-metrics-collector/ambari-metrics-collector.log" &lt;/STRONG&gt;&lt;/EM&gt;to se eif there are any WARNING / ERROR mentioned.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also please check if the "&lt;STRONG&gt;/usr/lib/ambari-metrics-hadoop-sink/ambari-metrics-hadoop-sink-with-common*.jar&lt;/STRONG&gt;" JAR is loaded by the components like NameNode / DataNode?&lt;/P&gt;&lt;PRE&gt;# lsof -p `cat /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid `  | grep metrics
# lsof -p `cat /var/run/hadoop/hdfs/hadoop-hdfs-datanode.pid`  | grep metrics
&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44389/ambenatmane.html" nodeid="44389"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 23:10:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210609#M69376</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-10T23:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari UI not displaying some Widgets and Actions !!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210610#M69377</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3418/jsensharma.html"&gt;Jay SenSharma&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;"timeline Sink"&lt;/STRONG&gt; service is started properly and the &lt;STRONG&gt;Connection to $AMS_HOST 6188 port [tcp/*] succeeded!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;No Errors in &lt;STRONG&gt;/var/log/ambari-metrics-collector/ambari-metrics-collector.log&lt;/STRONG&gt; yet !&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/usr/lib/ambari-metrics-hadoop-sink/ambari-metrics-hadoop-sink-with-common-2.5.2.0.298.jar &lt;/STRONG&gt;is loaded correctly by NameNode but not by DataNode !&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 15:47:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210610#M69377</guid>
      <dc:creator>am_benatmane</dc:creator>
      <dc:date>2017-10-11T15:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari UI not displaying some Widgets and Actions !!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210611#M69378</link>
      <description>&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;/var/logs/ambari-server/ambari-server.log shows:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
  
&lt;P&gt;ERROR [ambari-client-thread-27] ReadHandler:102 - Caught a runtime 
exception executing a query
  java.lang.NullPointerException
          at 
org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getConfigResourceManagerId(ResourceManagerHttpPropertyRequest.java:111)
          at 
org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getPort(ResourceManagerHttpPropertyRequest.java:92)
          at 
org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getUrl(ResourceManagerHttpPropertyRequest.java:77)
          at 
org.apache.ambari.server.controller.internal.HttpPropertyProvider.populateResource(HttpPropertyProvider.java:137)
          at 
org.apache.ambari.server.controller.internal.HttpPropertyProvider.populateResources(HttpPropertyProvider.java:121)
          at 
org.apache.ambari.server.controller.internal.ClusterControllerImpl.populateResources(ClusterControllerImpl.java:155)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;31 oct. 2017 12:39:21,312 ERROR [ambari-client-thread-27] 
ContainerResponse:419 - The RuntimeException could not be mapped to a 
response, re-throwing to the HTTP container
  java.lang.NullPointerException
          at 
org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getConfigResourceManagerId(ResourceManagerHttpPropertyRequest.java:111)
          at 
org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getPort(ResourceManagerHttpPropertyRequest.java:92)
          at 
org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getUrl(ResourceManagerHttpPropertyRequest.java:77)
          at 
org.apache.ambari.server.controller.internal.HttpPropertyProvider.populateResource(HttpPropertyProvider.java:137)
          at 
org.apache.ambari.server.controller.internal.HttpPropertyProvider.populateResources(HttpPropertyProvider.java:121)
          at 
org.apache.ambari.server.controller.internal.ClusterControllerImpl.populateResources(ClusterControllerImpl.java:155)
          at 
org.apache.ambari.server.api.query.QueryImpl.queryForSubResources(QueryImpl.java:500)&lt;/P&gt;&lt;P&gt;31 oct. 2017 12:39:21,315  WARN [ambari-client-thread-27] 
ServletHandler:561 - Error Processing URI: 
/api/v1/clusters/CLUSTER_NAME/components/ - 
(java.lang.NullPointerException) null&lt;/P&gt;&lt;P&gt;31 oct. 2017 12:39:21,315  WARN [ambari-client-thread-27] 
ServletHandler:561 - Error Processing URI: 
/api/v1/clusters/CLUSTER_NAME/components/ - 
(java.lang.NullPointerException) null&lt;/P&gt;&lt;P&gt;31 oct. 2017 12:39:21,461  INFO [ambari-client-thread-26] 
QuickLinkVisibilityControllerFactory:44 - No quick link profile is set, 
will display all quicklinks.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 31 Oct 2017 18:45:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210611#M69378</guid>
      <dc:creator>am_benatmane</dc:creator>
      <dc:date>2017-10-31T18:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari UI not displaying some Widgets and Actions !!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210612#M69379</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44389/ambenatmane.html" nodeid="44389"&gt;&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44389/ambenatmane.html" nodeid="44389"&gt;@Amine Benatmane&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I see two errors (Both are NullPointerException)  in the logs:    (One indicates Yarn Config issue and the other indicates indicates DB inconsistency)&lt;/P&gt;&lt;P&gt;1.  This NullPointerException is coming from this API:   &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/release-2.5.2/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ResourceManagerHttpPropertyRequest.java#L111-L111" target="_blank"&gt;https://github.com/apache/ambari/blob/release-2.5.2/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ResourceManagerHttpPropertyRequest.java#L111-L111&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which can happen only if somehow the  "hostNameByID" is incorrect or the "hostname" variable is Null.      OR if the &lt;STRONG&gt;"yarn.resourcemanager.ha.rm-ids"  i&lt;/STRONG&gt;s not configured properly inside your "yarn-site.xml" &lt;/P&gt;&lt;PRE&gt;31 oct. 2017 12:39:21,312 ERROR [ambari-client-thread-27] ContainerResponse:419 - The RuntimeException could not be mapped to a response, re-throwing to the HTTP container java.lang.NullPointerException 
     at org.apache.ambari.server.controller.internal.ResourceManagerHttpPropertyRequest.getConfigResourceManagerId(ResourceManagerHttpPropertyRequest.java:111)
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;2. Following  "&lt;STRONG&gt;NullPointerException&lt;/STRONG&gt;" is more problematic as it indicates a DB Issue (Inconsistency).  Which will require a complete review of the DB dump to findout why the conponents API is throwing Null.&lt;/P&gt;&lt;PRE&gt;31 oct. 2017 12:39:21,315 WARN [ambari-client-thread-27] ServletHandler:561 - Error Processing URI: 
/api/v1/clusters/CLUSTER_NAME/components/ - (java.lang.NullPointerException) null&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44389/ambenatmane.html" nodeid="44389"&gt;&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44389/ambenatmane.html" nodeid="44389"&gt;&lt;/A&gt;  &lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:12:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210612#M69379</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-31T19:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari UI not displaying some Widgets and Actions !!</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210613#M69380</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;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;yarn.resourcemanager.hostname.[RM_ID] was missing in yarn-site config, thanks a lot !&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 21:21:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-UI-not-displaying-some-Widgets-and-Actions/m-p/210613#M69380</guid>
      <dc:creator>am_benatmane</dc:creator>
      <dc:date>2017-10-31T21:21:57Z</dc:date>
    </item>
  </channel>
</rss>

