Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5434

[REST] Include more metrics in cluster status request

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.0
    • Fix Version/s: 0.94.0, 0.95.0
    • Component/s: metrics, REST
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      /status/cluster shows only

      stores=2
      storefiless=0
      storefileSizeMB=0
      memstoreSizeMB=0
      storefileIndexSizeMB=0
      

      for a region but master web-ui shows

      stores=1,
      storefiles=0,
      storefileUncompressedSizeMB=0
      storefileSizeMB=0
      memstoreSizeMB=0
      storefileIndexSizeMB=0
      readRequestsCount=0
      writeRequestsCount=0
      rootIndexSizeKB=0
      totalStaticIndexSizeKB=0
      totalStaticBloomSizeKB=0
      totalCompactingKVs=0
      currentCompactedKVs=0
      compactionProgressPct=NaN
      

      In a write-heavy REST gateway based production environment, ops team needs to verify whether write counters are getting incremented per region (they do run /status/cluster on each REST server), we can get the same values from rpc.metrics.put_num_ops and hbase.regionserver.writeRequestsCount but some home-grown tools needs to parse the output of /status/cluster and updates the dashboard.

        Attachments

        1. HBASE-5434.trunk.v2.patch
          39 kB
          Mubarak Seyed
        2. HBASE-5434.trunk.v2.patch
          39 kB
          stack
        3. HBASE-5434.trunk.v2.patch
          39 kB
          stack
        4. HBASE-5434.trunk.v1.patch
          37 kB
          Mubarak Seyed

          Activity

            People

            • Assignee:
              mubarakseyed Mubarak Seyed
              Reporter:
              mubarakseyed Mubarak Seyed
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: