Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25118

HBase read/write metrics not available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.1
    • Fix Version/s: None
    • Component/s: ambari-metrics
    • Labels:
      None

      Description

      HBase read/write metrics not available. The root cause is because of 2 columns data are missing.
      Read and Write metrics needs following columns data.

      Read
      regionserver.Server.Get_num_ops._rate + regionserver.Server.ScanNext_num_ops._rate
      Write
      regionserver.Server.Append_num_ops._rate + regionserver.Server.Delete_num_ops._rate + regionserver.Server.Increment_num_ops._rate+ regionserver.Server.Mutate_num_ops._rate

      When I check on the AMS database with the below query, regionserver.Server.ScanNext_num_ops and regionserver.Server.Mutate_num_ops columns are missing!

      0: jdbc:phoenix:> select * from METRICS_METADATA_UUID where METRIC_NAME in ('regionserver.Server.Get_num_ops','regionserver.Server.ScanNext_num_ops','regionserver.Server.Append_num_ops','regionserver.Server.Delete_num_ops','regionserver.Server.Increment_num_ops','regionserver.Server.Mutate_num_ops') and app_id='ams-hbase';
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

      METRIC_NAME APP_ID INSTANCE_ID UUID UNITS TYPE
      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

      regionserver.Server.Append_num_ops ams-hbase [B@64030b91 COUNTER
      regionserver.Server.Delete_num_ops ams-hbase [B@383f1975 COUNTER
      regionserver.Server.Get_num_ops ams-hbase [B@441cc260 COUNTER
      regionserver.Server.Increment_num_ops ams-hbase [B@73a00e09 COUNTER

      I have created my own widget without these columns and metrics worked as properly.

      I also increase log level for regionserver but I could not cath any error or information.

        Attachments

        1. original widget.PNG
          2 kB
          oktay tuncay
        2. without missing columns.PNG
          3 kB
          oktay tuncay

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oktaytncy oktay tuncay
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: