[ 
https://issues.apache.org/jira/browse/HBASE-5434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213897#comment-13213897
 ] 

Mubarak Seyed commented on HBASE-5434:
--------------------------------------

Need to update schema definition in wiki page 
http://wiki.apache.org/hadoop/Hbase/Stargate

*protobufs schema*
{code}
message StorageClusterStatus {
  message Region {
    required bytes name = 1;
    optional int32 stores = 2;
    optional int32 storefiles = 3;
    optional int32 storefileSizeMB = 4;
    optional int32 memstoreSizeMB = 5;
    optional int32 storefileIndexSizeMB = 6;
    optional int64 readRequestsCount = 7;
    optional int64 writeRequestsCount = 8;
    optional int32 rootIndexSizeKB = 9;
    optional int32 totalStaticIndexSizeKB = 10;
    optional int32 totalStaticBloomSizeKB = 11;
    optional int64 totalCompactingKVs = 12;
    optional int64 currentCompactedKVs = 13;
    {color} 
  }
  ..
}
{code}

*XML schema*

{code}
<complexType name="Region">
        <attribute name="name" type="base64Binary"></attribute>
        <attribute name="stores" type="int"></attribute>
        <attribute name="storefiles" type="int"></attribute>
        <attribute name="storefileSizeMB" type="int"></attribute>
        <attribute name="memstoreSizeMB" type="int"></attribute>
        <attribute name="storefileIndexSizeMB" type="int"></attribute>
        <attribute name="readRequestsCount" type="int"></attribute>
        <attribute name="writeRequestsCount" type="int"></attribute>
        <attribute name="rootIndexSizeKB" type="int"></attribute>
        <attribute name="totalStaticIndexSizeKB" type="int"></attribute>
        <attribute name="totalStaticBloomSizeKB" type="int"></attribute>
        <attribute name="totalCompactingKVs" type="int"></attribute>
        <attribute name="currentCompactedKVs" type="int"></attribute>
</complexType>
{code}


                
> [REST] Include more metrics in cluster status request
> -----------------------------------------------------
>
>                 Key: HBASE-5434
>                 URL: https://issues.apache.org/jira/browse/HBASE-5434
>             Project: HBase
>          Issue Type: Improvement
>          Components: metrics, rest
>    Affects Versions: 0.94.0
>            Reporter: Mubarak Seyed
>            Assignee: Mubarak Seyed
>            Priority: Minor
>              Labels: noob
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5434.trunk.v1.patch
>
>
> /status/cluster shows only
> {code}
> stores=2
> storefiless=0
> storefileSizeMB=0
> memstoreSizeMB=0
> storefileIndexSizeMB=0
> {code}
> for a region but master web-ui shows
> {code}
> 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
> {code}
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to