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

[REST] Include more metrics in cluster status request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.0
    • 0.94.0, 0.95.0
    • metrics, REST
    • None
    • 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.v1.patch
          37 kB
          Mubarak Seyed
        2. HBASE-5434.trunk.v2.patch
          39 kB
          Mubarak Seyed
        3. HBASE-5434.trunk.v2.patch
          39 kB
          Michael Stack
        4. HBASE-5434.trunk.v2.patch
          39 kB
          Michael Stack

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: