<?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 in HDP 2.6.1 ambari metrics store data in hbase ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184245#M70986</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;We were using following query to get cpu details in hdp 2.3.4 from hbase via poenix, but I do not see any tables or schema for ambari metrics in hdp2.6.1. So do we still have this information in hbase or it is moved to some other components ? Or I am doing something wrong. &lt;/P&gt;&lt;P&gt;select * from METRIC_RECORD where METRIC_NAME like 'cpu%' ;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2017 20:01:45 GMT</pubDate>
    <dc:creator>SK1</dc:creator>
    <dc:date>2017-11-08T20:01:45Z</dc:date>
    <item>
      <title>in HDP 2.6.1 ambari metrics store data in hbase ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184245#M70986</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;We were using following query to get cpu details in hdp 2.3.4 from hbase via poenix, but I do not see any tables or schema for ambari metrics in hdp2.6.1. So do we still have this information in hbase or it is moved to some other components ? Or I am doing something wrong. &lt;/P&gt;&lt;P&gt;select * from METRIC_RECORD where METRIC_NAME like 'cpu%' ;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:01:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184245#M70986</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2017-11-08T20:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: in HDP 2.6.1 ambari metrics store data in hbase ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184246#M70987</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It works in HDP 2.6.1 as well.  The AMS collector (Binaries) actually comes from Ambari repo so it basically depends on your Ambari Version.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;
&lt;/P&gt;&lt;PRE&gt;# /usr/lib/ambari-metrics-collector/bin/sqlline.py  amb25102.example.com:61181/ams-hbase-unsecure 
0: jdbc:phoenix:amb25102.example.com:61181/am&amp;gt; !tables
0: jdbc:phoenix:amb25102.example.com:61181/am&amp;gt; select * from METRIC_RECORD where METRIC_NAME like 'cpu%' ;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example Output:&lt;BR /&gt;================  (From HDP 2.6.1 and Ambari 2.5.1)&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;
0: jdbc:phoenix:amb25102.example.com:61181/am&amp;gt; !tables
+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+-------------------+
|                TABLE_CAT                 |               TABLE_SCHEM                |                TABLE_NAME                |                TABLE_TYPE                |                 REMARKS                  |                TY |
+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+-------------------+
|                                          | SYSTEM                                   | CATALOG                                  | SYSTEM TABLE                             |                                          |                   |
|                                          | SYSTEM                                   | FUNCTION                                 | SYSTEM TABLE                             |                                          |                   |
|                                          | SYSTEM                                   | SEQUENCE                                 | SYSTEM TABLE                             |                                          |                   |
|                                          | SYSTEM                                   | STATS                                    | SYSTEM TABLE                             |                                          |                   |
|                                          |                                          | CONTAINER_METRICS                        | TABLE                                    |                                          |                   |
|                                          |                                          | HOSTED_APPS_METADATA                     | TABLE                                    |                                          |                   |
|                                          |                                          | INSTANCE_HOST_METADATA                   | TABLE                                    |                                          |                   |
|                                          |                                          | METRICS_METADATA                         | TABLE                                    |                                          |                   |
|                                          |                                          | METRIC_AGGREGATE                         | TABLE                                    |                                          |                   |
|                                          |                                          | METRIC_AGGREGATE_DAILY                   | TABLE                                    |                                          |                   |
|                                          |                                          | METRIC_AGGREGATE_HOURLY                  | TABLE                                    |                                          |                   |
|                                          |                                          | METRIC_AGGREGATE_MINUTE                  | TABLE                                    |                                          |                   |
|                                          |                                          | METRIC_RECORD                            | TABLE                                    |                                          |                   |
|                                          |                                          | METRIC_RECORD_DAILY                      | TABLE                                    |                                          |                   |
|                                          |                                          | METRIC_RECORD_HOURLY                     | TABLE                                    |                                          |                   |
|                                          |                                          | METRIC_RECORD_MINUTE                     | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | ACTIVITY_QUEUE                           | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | CONFIG                                   | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | COUNTER                                  | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | FAILED_ACTIVITY                          | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | HDFS_FILES                               | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | HDFS_USER_FILE_SUMMARY                   | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | JOB                                      | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | RECOMMENDATION                           | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | SCHEMA_INFO                              | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | TASK                                     | TABLE                                    |                                          |                   |
|                                          | ACTIVITY                                 | YARN_APPLICATION                         | TABLE                                    |                                          |                   |
+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+-------------------+
0: jdbc:phoenix:amb25102.example.com:61181/am&amp;gt; select * from METRIC_RECORD where METRIC_NAME like 'cpu%' ;
+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+-------------------+
|               METRIC_NAME                |                 HOSTNAME                 |               SERVER_TIME                |                  APP_ID                  |               INSTANCE_ID                |                ST |
+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+------------------------------------------+-------------------+
| cpu_idle                                 | amb25101.example.com                     | 1510056657199                            | HOST                                     |                                          | 1510056595545     |
| cpu_idle                                 | amb25101.example.com                     | 1510056717578                            | HOST                                     |                                          | 1510056655559     |
| cpu_idle                                 | amb25101.example.com                     | 1510056778195                            | HOST                                     |                                          | 1510056715570     |
| cpu_idle                                 | amb25101.example.com                     | 1510056838608                            | HOST                                     |                                          | 1510056775637     |&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:14:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184246#M70987</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-08T20:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: in HDP 2.6.1 ambari metrics store data in hbase ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184247#M70988</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regarding your Query "in HDP 2.6.1 ambari metrics store data in hbase ?"&lt;/P&gt;&lt;P&gt;AMS stores data inside HBase.  &lt;/P&gt;&lt;P&gt;AMS collector can be configured in two ways "Embedded" (Where it stores data in to local filesystem inside the HBase DB.&lt;/P&gt;&lt;P&gt;In case of "Distributed" mode the Data is stored in HDFS.    But HBase is used in both cases.&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/AMS+-+distributed+mode" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/AMS+-+distributed+mode&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:17:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184247#M70988</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-08T20:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: in HDP 2.6.1 ambari metrics store data in hbase ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184248#M70989</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Following are some very good PPT on Ambari Metrics Collector:&lt;/P&gt;&lt;P&gt;1). &lt;A target="_blank" href="https://www.slideshare.net/AravindanVijayan/ambari-metrics-system-apache-ambari-meetup-dataworks-summit-2017"&gt;Ambari metrics system - Apache ambari meetup (DataWorks Summit 2017)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2). &lt;A target="_blank" href="https://www.slideshare.net/prajrao/apache-ambari-meetup-ams-grafana"&gt;Apache Ambari Meetup - AMS &amp;amp; Grafana&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:24:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184248#M70989</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-08T20:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: in HDP 2.6.1 ambari metrics store data in hbase ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184249#M70990</link>
      <description>&lt;P&gt;Thanks a lot &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;</description>
      <pubDate>Wed, 08 Nov 2017 20:25:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/in-HDP-2-6-1-ambari-metrics-store-data-in-hbase/m-p/184249#M70990</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2017-11-08T20:25:48Z</dc:date>
    </item>
  </channel>
</rss>

