<?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 metrics collector not display the metrics after moving to distributed mode in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290215#M214739</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/59349"&gt;@mike_bronson7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we see the error as: &lt;EM&gt;&lt;STRONG&gt;"Table Namespace Manager not fully initialized"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2020-02-21 03:33:49,284 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=15, retries=35, started=629725 ms ago, cancelled=false, msg=java.io.IOException: Table Namespace Manager not fully initialized, try again later
at org.apache.hadoop.hbase.master.HMaster.checkNamespaceManagerReady(HMaster.java:2693)
at org.apache.hadoop.hbase.master.HMaster.ensureNamespaceExists(HMaster.java:2915)
at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1686)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Which indicates the AMS HBase master might have some issue. Can you please let us know when was "distributed Mode" AMS running fine last time? Or immediately after enabling AMS distributed mode it is not starting?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is it kerberos enabled environment?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you please check the permission on the HDFS dir? (to verify if the ownership of this HDFS dir is setup correctly as "ams:hdfs")&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# su - hdfs -c 'hdfs dfs -ls /user/ams'
# su - hdfs -c 'hdfs dfs -ls /user/ams/hbase'&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;If you still face any issue then may be you can try to change the Zookeeper ZNode for AMS and then try restarting AMS freshly.&lt;BR /&gt;To change the &lt;STRONG&gt;"Zookeeper Znode Parent"&lt;/STRONG&gt; property of AMS please try this.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Ambari UI --&amp;gt; Amabri Metrics --&amp;gt; Configs --&amp;gt; "Advanced ams-hbase-site" --&amp;gt; "ZooKeeper Znode Parent" &lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;then change the value of the znode to something slightly different like "/ams-hbase-unsecure" to "/ams-hbase-unsecure&lt;STRONG&gt;1&lt;/STRONG&gt;" ...etc and restart AMS and let us know if you see any error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 04:29:41 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2020-02-21T04:29:41Z</dc:date>
    <item>
      <title>ambari metrics collector not display the metrics after moving to distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290177#M214728</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hi all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we have HDP version 2.6.5 and ambari 2.6.2.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we configured the following&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Metrics Service operation mode=distributed&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;hbase.rootdir=hdfs://hdfsha:8020/user/ams/hbase&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;and all the rest according to -&amp;nbsp;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/AMS+-+distributed+mode" target="_blank" rel="noopener"&gt;https://cwiki.apache.org/confluence/display/AMBARI/AMS+-+distributed+mode&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so ambari configured to save the data on hdfs instead the local disk&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;after metrics collector service restart we saw the following from log&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2020-02-20 20:09:15,770 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;BR /&gt;2020-02-20 20:11:35,769 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2020-02-20 20:30:10,306 INFO org.apache.hadoop.metrics2.impl.MetricsSystemImpl: phoenix metrics system started&lt;BR /&gt;2020-02-20 20:30:10,450 WARN org.apache.hadoop.hbase.io.util.HeapMemorySizeUtil: hbase.regionserver.global.memstore.upperLimit is deprecated by hbase.regionserver.global.memstore.size&lt;BR /&gt;2020-02-20 20:30:15,327 WARN org.apache.hadoop.hbase.io.util.HeapMemorySizeUtil: hbase.regionserver.global.memstore.upperLimit is deprecated by hbase.regionserver.global.memstore.size&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and without metrics as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26432iA5AF9A16736BE35B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and after some time the metrics collector service failed&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;why this happens ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE - I must to say that - when data of metrics saved on local disk then everything was ok&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is that because reaching data on HDFS is more slow?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 21:29:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290177#M214728</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2020-02-20T21:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics collector not display the metrics after moving to distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290200#M214733</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/59349"&gt;@mike_bronson7&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This does not look right? Ideally with HDFS HA name we do not use the Port number because "hdfsha" is not a hostname but just a logical name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;hbase.rootdir=hdfs://hdfsha:8020/user/ams/hbase&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you NameService name is "hdfsha" (defined in "Custom core-site" as&lt;EM&gt;&lt;STRONG&gt; "dfs.nameservices=hdfsha"&lt;/STRONG&gt;&lt;/EM&gt;) then ideally you should be using the following in your AMS configuration in your "Advanced ams-hbase-site"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;hbase.rootdir=/user/ams/hbase&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;. As your AMS mode is "distributed" hence AMS will automatically assume that the data is in HDFS and will be able to figure out the actual NameService name dynamically so we do not even need to specify &lt;EM&gt;&lt;STRONG&gt;"hdfs://hdfsha"&lt;/STRONG&gt;&lt;/EM&gt; there.&amp;nbsp; &amp;nbsp;After fixing the "hbase.rootdir" in AMS configs please kill and restart the AMS processes. Then specially check the AMS logs specially the following logs and please share if you notice any error ... please share the Full stacktrace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/var/log/ambari-metrics-collector/hbase-ams-master-*.log
/var/log/ambari-metrics-collector/hbase-ams-region-*.log
/var/log/ambari-metrics-collector/ambari-metrics-collector.log&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 22:52:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290200#M214733</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2020-02-20T22:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics collector not display the metrics after moving to distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290206#M214734</link>
      <description>&lt;P&gt;Dear jay&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you mean to set it as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 447px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26444iEEA171BB1CC55B8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 462px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26445i3181B4546DAF6DB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 02:56:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290206#M214734</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2020-02-21T02:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics collector not display the metrics after moving to distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290210#M214735</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/59349"&gt;@mike_bronson7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the&amp;nbsp;&lt;SPAN&gt;Metrics Service operation mode is already selected to "&lt;EM&gt;&lt;STRONG&gt;distributed&lt;/STRONG&gt;&lt;/EM&gt;" hence Ambari will make AMS aware that it needs to find that hbase.rootdir on HDFS.&amp;nbsp;&lt;BR /&gt;Following should be fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;hbase.rootdir=/user/ams/hbase&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 03:29:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290210#M214735</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2020-02-21T03:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics collector not display the metrics after moving to distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290212#M214737</link>
      <description>&lt;P&gt;we configured the following&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 450px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26446iBBD579C4C175FC4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this are the logs ( still metrics are now shown from ambari , and we have the same alert on the metrics service )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tail -15 ambari-metrics-collector.log&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:187)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:167)&lt;/P&gt;&lt;P&gt;2020-02-21 03:33:49,284 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=15, retries=35, started=629725 ms ago, cancelled=false, msg=java.io.IOException: Table Namespace Manager not fully initialized, try again later&lt;BR /&gt;at org.apache.hadoop.hbase.master.HMaster.checkNamespaceManagerReady(HMaster.java:2693)&lt;BR /&gt;at org.apache.hadoop.hbase.master.HMaster.ensureNamespaceExists(HMaster.java:2915)&lt;BR /&gt;at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1686)&lt;BR /&gt;at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:483)&lt;BR /&gt;at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:59846)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2150)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:187)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:167)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;tail -30 hbase-ams-regionserver-master.sys77.com.log&lt;BR /&gt;2020-02-21 03:23:23,912 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: No suitable collector found.&lt;BR /&gt;2020-02-21 03:23:23,914 INFO [HBase-Metrics2-1] impl.MetricsSinkAdapter: Sink timeline started&lt;BR /&gt;2020-02-21 03:23:23,916 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).&lt;BR /&gt;2020-02-21 03:23:23,916 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system started&lt;BR /&gt;2020-02-21 03:24:33,928 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;BR /&gt;2020-02-21 03:28:12,357 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=158.59 KB, freeSize=149.62 MB, max=149.78 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=29, evicted=0, evictedPerRun=0.0&lt;BR /&gt;2020-02-21 03:28:13,923 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;BR /&gt;2020-02-21 03:28:23,344 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Stopping HBase metrics system...&lt;BR /&gt;2020-02-21 03:28:23,347 INFO [timeline] impl.MetricsSinkAdapter: timeline thread interrupted.&lt;BR /&gt;2020-02-21 03:28:23,349 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system stopped.&lt;BR /&gt;2020-02-21 03:28:23,855 INFO [HBase-Metrics2-1] impl.MetricsConfig: loaded properties from hadoop-metrics2-hbase.properties&lt;BR /&gt;2020-02-21 03:28:23,906 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Initializing Timeline metrics sink.&lt;BR /&gt;2020-02-21 03:28:23,906 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Identified hostname = master.sys77.com, serviceName = ams-hbase&lt;BR /&gt;2020-02-21 03:28:23,909 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: No suitable collector found.&lt;BR /&gt;2020-02-21 03:28:23,911 INFO [HBase-Metrics2-1] impl.MetricsSinkAdapter: Sink timeline started&lt;BR /&gt;2020-02-21 03:28:23,914 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).&lt;BR /&gt;2020-02-21 03:28:23,914 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system started&lt;BR /&gt;2020-02-21 03:29:33,925 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;BR /&gt;2020-02-21 03:33:12,356 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=158.59 KB, freeSize=149.62 MB, max=149.78 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=59, evicted=0, evictedPerRun=0.0&lt;BR /&gt;2020-02-21 03:33:23,344 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Stopping HBase metrics system...&lt;BR /&gt;2020-02-21 03:33:23,346 INFO [timeline] impl.MetricsSinkAdapter: timeline thread interrupted.&lt;BR /&gt;2020-02-21 03:33:23,350 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system stopped.&lt;BR /&gt;2020-02-21 03:33:23,853 INFO [HBase-Metrics2-1] impl.MetricsConfig: loaded properties from hadoop-metrics2-hbase.properties&lt;BR /&gt;2020-02-21 03:33:23,924 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Initializing Timeline metrics sink.&lt;BR /&gt;2020-02-21 03:33:23,925 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Identified hostname = master.sys77.com, serviceName = ams-hbase&lt;BR /&gt;2020-02-21 03:33:23,929 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: No suitable collector found.&lt;BR /&gt;2020-02-21 03:33:23,932 INFO [HBase-Metrics2-1] impl.MetricsSinkAdapter: Sink timeline started&lt;BR /&gt;2020-02-21 03:33:23,936 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).&lt;BR /&gt;2020-02-21 03:33:23,936 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system started&lt;BR /&gt;2020-02-21 03:34:33,948 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tail -30 hbase-ams-regionserver-master.sys77.com.log&lt;BR /&gt;2020-02-21 03:23:23,912 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: No suitable collector found.&lt;BR /&gt;2020-02-21 03:23:23,914 INFO [HBase-Metrics2-1] impl.MetricsSinkAdapter: Sink timeline started&lt;BR /&gt;2020-02-21 03:23:23,916 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).&lt;BR /&gt;2020-02-21 03:23:23,916 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system started&lt;BR /&gt;2020-02-21 03:24:33,928 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;BR /&gt;2020-02-21 03:28:12,357 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=158.59 KB, freeSize=149.62 MB, max=149.78 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=29, evicted=0, evictedPerRun=0.0&lt;BR /&gt;2020-02-21 03:28:13,923 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;BR /&gt;2020-02-21 03:28:23,344 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Stopping HBase metrics system...&lt;BR /&gt;2020-02-21 03:28:23,347 INFO [timeline] impl.MetricsSinkAdapter: timeline thread interrupted.&lt;BR /&gt;2020-02-21 03:28:23,349 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system stopped.&lt;BR /&gt;2020-02-21 03:28:23,855 INFO [HBase-Metrics2-1] impl.MetricsConfig: loaded properties from hadoop-metrics2-hbase.properties&lt;BR /&gt;2020-02-21 03:28:23,906 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Initializing Timeline metrics sink.&lt;BR /&gt;2020-02-21 03:28:23,906 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Identified hostname = master.sys77.com, serviceName = ams-hbase&lt;BR /&gt;2020-02-21 03:28:23,909 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: No suitable collector found.&lt;BR /&gt;2020-02-21 03:28:23,911 INFO [HBase-Metrics2-1] impl.MetricsSinkAdapter: Sink timeline started&lt;BR /&gt;2020-02-21 03:28:23,914 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).&lt;BR /&gt;2020-02-21 03:28:23,914 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system started&lt;BR /&gt;2020-02-21 03:29:33,925 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;BR /&gt;2020-02-21 03:33:12,356 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=158.59 KB, freeSize=149.62 MB, max=149.78 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=59, evicted=0, evictedPerRun=0.0&lt;BR /&gt;2020-02-21 03:33:23,344 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Stopping HBase metrics system...&lt;BR /&gt;2020-02-21 03:33:23,346 INFO [timeline] impl.MetricsSinkAdapter: timeline thread interrupted.&lt;BR /&gt;2020-02-21 03:33:23,350 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system stopped.&lt;BR /&gt;2020-02-21 03:33:23,853 INFO [HBase-Metrics2-1] impl.MetricsConfig: loaded properties from hadoop-metrics2-hbase.properties&lt;BR /&gt;2020-02-21 03:33:23,924 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Initializing Timeline metrics sink.&lt;BR /&gt;2020-02-21 03:33:23,925 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Identified hostname = master.sys77.com, serviceName = ams-hbase&lt;BR /&gt;2020-02-21 03:33:23,929 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: No suitable collector found.&lt;BR /&gt;2020-02-21 03:33:23,932 INFO [HBase-Metrics2-1] impl.MetricsSinkAdapter: Sink timeline started&lt;BR /&gt;2020-02-21 03:33:23,936 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).&lt;BR /&gt;2020-02-21 03:33:23,936 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system started&lt;BR /&gt;2020-02-21 03:34:33,948 INFO [timeline] timeline.HadoopTimelineMetricsSink: No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times.&lt;BR /&gt;[root@master ambari-metrics-collector]#&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 03:44:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290212#M214737</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2020-02-21T03:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics collector not display the metrics after moving to distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290215#M214739</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/59349"&gt;@mike_bronson7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we see the error as: &lt;EM&gt;&lt;STRONG&gt;"Table Namespace Manager not fully initialized"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2020-02-21 03:33:49,284 INFO org.apache.hadoop.hbase.client.RpcRetryingCaller: Call exception, tries=15, retries=35, started=629725 ms ago, cancelled=false, msg=java.io.IOException: Table Namespace Manager not fully initialized, try again later
at org.apache.hadoop.hbase.master.HMaster.checkNamespaceManagerReady(HMaster.java:2693)
at org.apache.hadoop.hbase.master.HMaster.ensureNamespaceExists(HMaster.java:2915)
at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1686)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Which indicates the AMS HBase master might have some issue. Can you please let us know when was "distributed Mode" AMS running fine last time? Or immediately after enabling AMS distributed mode it is not starting?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is it kerberos enabled environment?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you please check the permission on the HDFS dir? (to verify if the ownership of this HDFS dir is setup correctly as "ams:hdfs")&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# su - hdfs -c 'hdfs dfs -ls /user/ams'
# su - hdfs -c 'hdfs dfs -ls /user/ams/hbase'&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;If you still face any issue then may be you can try to change the Zookeeper ZNode for AMS and then try restarting AMS freshly.&lt;BR /&gt;To change the &lt;STRONG&gt;"Zookeeper Znode Parent"&lt;/STRONG&gt; property of AMS please try this.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Ambari UI --&amp;gt; Amabri Metrics --&amp;gt; Configs --&amp;gt; "Advanced ams-hbase-site" --&amp;gt; "ZooKeeper Znode Parent" &lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;then change the value of the znode to something slightly different like "/ams-hbase-unsecure" to "/ams-hbase-unsecure&lt;STRONG&gt;1&lt;/STRONG&gt;" ...etc and restart AMS and let us know if you see any error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 04:29:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290215#M214739</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2020-02-21T04:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics collector not display the metrics after moving to distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290220#M214743</link>
      <description>&lt;P&gt;Dear Jay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes change the&amp;nbsp;ams-hbase-unsecure1 is part of the solution , also I increase the heap size since we saw also error about the heap size&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I will build more new cluster with your correction&amp;nbsp;, and I will let you know if metrics working fine with&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;hbase.rootdir=/user/ams/hbase&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 06:58:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290220#M214743</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2020-02-21T06:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: ambari metrics collector not display the metrics after moving to distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290225#M214747</link>
      <description>&lt;P&gt;Dear Jay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regarding this ambari cluster , I noticed that some of the metrics are shown and some of them are not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as the following example&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/26447iB2D42F00135E3B22/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from the logs we can see&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@master ambari-metrics-collector]# tail -10 hbase-ams-regionserver-master.sys77.com.log&lt;BR /&gt;2020-02-21 08:15:13,237 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Collector Uri: &lt;A href="http://master.sys77.com:6188/ws/v1/timeline/metrics" target="_blank" rel="noopener"&gt;http://master.sys77.com:6188/ws/v1/timeline/metrics&lt;/A&gt;&lt;BR /&gt;2020-02-21 08:15:13,237 INFO [HBase-Metrics2-1] timeline.HadoopTimelineMetricsSink: Container Metrics Uri: &lt;A href="http://master.sys77.com:6188/ws/v1/timeline/containermetrics" target="_blank" rel="noopener"&gt;http://master.sys77.com:6188/ws/v1/timeline/containermetrics&lt;/A&gt;&lt;BR /&gt;2020-02-21 08:15:13,240 INFO [HBase-Metrics2-1] impl.MetricsSinkAdapter: Sink timeline started&lt;BR /&gt;2020-02-21 08:15:13,243 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).&lt;BR /&gt;2020-02-21 08:15:13,243 INFO [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system started&lt;BR /&gt;2020-02-21 08:15:48,203 INFO [MemStoreFlusher.1] regionserver.MemStoreFlusher: Flush of region METRIC_RECORD,kafka.server.BrokerTopicMetrics.BytesOutPerSec.15MinuteRate\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,1582267405534.b665584cec3e6aa7a266b7fc94ef2e91. due to global heap pressure. Total Memstore size=227.6 M, Region memstore size=68.4 M&lt;BR /&gt;2020-02-21 08:15:48,205 INFO [MemStoreFlusher.1] regionserver.HRegion: Started memstore flush for METRIC_RECORD,kafka.server.BrokerTopicMetrics.BytesOutPerSec.15MinuteRate\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,1582267405534.b665584cec3e6aa7a266b7fc94ef2e91., current region memstore size 68.37 MB, and 1/1 column families' memstores are being flushed.&lt;BR /&gt;2020-02-21 08:15:48,605 INFO [MemStoreFlusher.1] regionserver.DefaultStoreFlusher: Flushed, sequenceid=3159, memsize=68.4 M, hasBloomFilter=false, into tmp file hdfs://hdfsha/user/ams/hbase/data/default/METRIC_RECORD/b665584cec3e6aa7a266b7fc94ef2e91/.tmp/97bc3e982c0846e2864c2750526cca4f&lt;BR /&gt;2020-02-21 08:15:48,648 INFO [MemStoreFlusher.1] regionserver.HStore: Added hdfs://hdfsha/user/ams/hbase/data/default/METRIC_RECORD/b665584cec3e6aa7a266b7fc94ef2e91/0/97bc3e982c0846e2864c2750526cca4f, entries=267808, sequenceid=3159, filesize=3.9 M&lt;BR /&gt;2020-02-21 08:15:48,652 INFO [MemStoreFlusher.1] regionserver.HRegion: Finished memstore flush of ~68.37 MB/71693616, currentsize=0 B/0 for region METRIC_RECORD,kafka.server.BrokerTopicMetrics.BytesOutPerSec.15MinuteRate\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,1582267405534.b665584cec3e6aa7a266b7fc94ef2e91. in 447ms, sequenceid=3159, compaction requested=false&lt;BR /&gt;[root@master ambari-metrics-collector]#&lt;BR /&gt;[root@master ambari-metrics-collector]#&lt;BR /&gt;[root@master ambari-metrics-collector]#&lt;BR /&gt;[root@master ambari-metrics-collector]# tail -10 ambari-metrics-collector.log&lt;BR /&gt;2020-02-21 08:16:20,918 INFO TimelineClusterAggregatorMinute: End aggregation cycle @ Fri Feb 21 08:16:20 UTC 2020&lt;BR /&gt;2020-02-21 08:16:21,227 INFO TimelineClusterAggregatorSecond: Saving 8394 metric aggregates.&lt;BR /&gt;2020-02-21 08:16:21,372 INFO TimelineMetricHostAggregatorMinute: 5448 row(s) updated in aggregation.&lt;BR /&gt;2020-02-21 08:16:21,419 INFO TimelineMetricHostAggregatorMinute: End Downsampling cycle.&lt;BR /&gt;2020-02-21 08:16:21,440 INFO TimelineMetricHostAggregatorMinute: End Downsampling cycle.&lt;BR /&gt;2020-02-21 08:16:21,457 INFO TimelineMetricHostAggregatorMinute: End Downsampling cycle.&lt;BR /&gt;2020-02-21 08:16:21,479 INFO TimelineMetricHostAggregatorMinute: End Downsampling cycle.&lt;BR /&gt;2020-02-21 08:16:21,479 INFO TimelineMetricHostAggregatorMinute: Aggregated host metrics for METRIC_RECORD_MINUTE, with startTime = Fri Feb 21 08:10:00 UTC 2020, endTime = Fri Feb 21 08:15:00 UTC 2020&lt;BR /&gt;2020-02-21 08:16:21,479 INFO TimelineMetricHostAggregatorMinute: End aggregation cycle @ Fri Feb 21 08:16:21 UTC 2020&lt;BR /&gt;2020-02-21 08:16:21,752 INFO TimelineClusterAggregatorSecond: End aggregation cycle @ Fri Feb 21 08:16:21 UTC 2020&lt;BR /&gt;[root@master ambari-metrics-collector]#&lt;BR /&gt;[root@master ambari-metrics-collector]#&lt;BR /&gt;[root@master ambari-metrics-collector]#&lt;BR /&gt;[root@master ambari-metrics-collector]# tail -10 hbase-ams-master-master.sys77.com.log&lt;BR /&gt;2020-02-21 07:45:19,565 INFO [RpcServer.FifoWFPBQ.default.handler=29,queue=2,port=61300] master.HMaster: Client=ams/null List Table Descriptor for the METRIC_AGGREGATE_DAILY table succeeds&lt;BR /&gt;2020-02-21 07:46:09,290 INFO [timeline] availability.MetricSinkWriteShardHostnameHashingStrategy: Calculated collector shard master.sys77.com based on hostname: master.sys77.com&lt;BR /&gt;2020-02-21 07:49:59,377 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=159.41 KB, freeSize=150.39 MB, max=150.54 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=29, evicted=0, evictedPerRun=0.0&lt;BR /&gt;2020-02-21 07:54:59,376 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=159.41 KB, freeSize=150.39 MB, max=150.54 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=59, evicted=0, evictedPerRun=0.0&lt;BR /&gt;2020-02-21 07:59:59,376 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=159.41 KB, freeSize=150.39 MB, max=150.54 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=89, evicted=0, evictedPerRun=0.0&lt;BR /&gt;2020-02-21 08:00:32,031 INFO [WALProcedureStoreSyncThread] wal.WALProcedureStore: Remove log: hdfs://hdfsha/user/ams/hbase/MasterProcWALs/state-00000000000000000055.log&lt;BR /&gt;2020-02-21 08:00:32,031 INFO [WALProcedureStoreSyncThread] wal.WALProcedureStore: Removed logs: [hdfs://hdfsha/user/ams/hbase/MasterProcWALs/state-00000000000000000056.log]&lt;BR /&gt;2020-02-21 08:04:59,376 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=159.41 KB, freeSize=150.39 MB, max=150.54 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=119, evicted=0, evictedPerRun=0.0&lt;BR /&gt;2020-02-21 08:09:59,376 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=159.41 KB, freeSize=150.39 MB, max=150.54 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=149, evicted=0, evictedPerRun=0.0&lt;BR /&gt;2020-02-21 08:14:59,376 INFO [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=159.41 KB, freeSize=150.39 MB, max=150.54 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=179, evicted=0, evictedPerRun=0.0&lt;BR /&gt;[root@master ambari-metrics-collector]#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we can see that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2020-02-21 08:15:48,648 INFO [MemStoreFlusher.1] regionserver.HStore: Added hdfs://hdfsha/user/ams/hbase/data/default/METRIC_RECORD/b665584cec3e6aa7a266b7fc94ef2e91/0/97bc3e982c0846e2864c2750526cca4f, entries=267808, sequenceid=3159, filesize=3.9 M&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but we set the -&amp;nbsp;hbase.rootdir=/user/ams/hbase&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 08:29:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ambari-metrics-collector-not-display-the-metrics-after/m-p/290225#M214747</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2020-02-21T08:29:41Z</dc:date>
    </item>
  </channel>
</rss>

