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

subramanian raghunathan commented on HBASE-3807:
------------------------------------------------

Proposing to change from the following formats 

request=0.0, regions=8, stores=8, storefiles=8, storefileIndexSize=0, 
rootIndexSizeKB=3, totalStaticIndexSizeKB=0, totalStaticBloomSizeKB=0, 
memstoreSize=0, readRequestsCount=56, writeRequestsCount=14, 
compactionQueueSize=0, flushQueueSize=0, usedHeap=41, maxHeap=995, 
blockCacheSize=1767336, blockCacheFree=207082792, blockCacheCount=9, 
blockCacheHitCount=50, blockCacheMissCount=9, blockCacheEvictedCount=0, 
blockCacheHitRatio=84, blockCacheHitCachingRatio=84


stores=1, storefiles=2, storefileUncompressedSizeMB=0, storefileSizeMB=0, 
memstoreSizeMB=0, storefileIndexSizeMB=0, readRequestsCount=8, 
writeRequestsCount=2, rootIndexSizeKB=0, totalStaticIndexSizeKB=0, 
totalStaticBloomSizeKB=0

to 

{color:red}requestsPerSecond=0.0, numberOfOnlineRegions=8, numberOfStores=8, 
numberOfStorefiles=10, storefileIndexSizeMB=0{color}, rootIndexSizeKB=4, 
totalStaticIndexSizeKB=0, totalStaticBloomSizeKB=0, 
{color:red}memstoreSizeMB=0{color}, readRequestsCount=48, writeRequestsCount=8, 
compactionQueueSize=0, flushQueueSize=0,{color:red}usedHeapMB=34, 
maxHeapMB=995, blockCacheSizeMB=1.6885986, blockCacheFreeMB=197.4864{color}, 
blockCacheCount=11, blockCacheHitCount=53, blockCacheMissCount=11, 
blockCacheEvictedCount=0, {color:red}blockCacheHitRatio=82%, 
blockCacheHitCachingRatio=82%{color}

{color:red}numberOfStores=1, numberOfStorefiles=3{color}, 
storefileUncompressedSizeMB=0, storefileSizeMB=0,memstoreSizeMB=0, 
storefileIndexSizeMB=0, readRequestsCount=8, writeRequestsCount=2, 
rootIndexSizeKB=1, totalStaticIndexSizeKB=0, totalStaticBloomSizeKB=0

Also proposing the following metric in bytes blockCacheSize ,blockCacheFree 
planning to MB with full precision like 
{color:green}blockCacheSizeMB=1.6885986, blockCacheFreeMB=197.4864{color}

If this looks good ,i can upload the patch for trunk. If needed i can prepare 
the patch for 90.X also.

> Fix units in RS UI metrics
> --------------------------
>
>                 Key: HBASE-3807
>                 URL: https://issues.apache.org/jira/browse/HBASE-3807
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.94.0
>
>
> Currently the metrics are a mix of MB and bytes.  Its confusing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to