[ 
https://issues.apache.org/jira/browse/HBASE-18644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-18644:
-----------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 1.5.0
                   1.4.0
                   3.0.0
                   2.0.0
           Status: Resolved  (was: Patch Available)

Pushed to branch-1.3 and up

> Duplicate "compactionQueueLength" metric in Region Server metrics
> -----------------------------------------------------------------
>
>                 Key: HBASE-18644
>                 URL: https://issues.apache.org/jira/browse/HBASE-18644
>             Project: HBase
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 1.3.1
>            Reporter: Maddineni Sukumar
>            Assignee: Maddineni Sukumar
>            Priority: Minor
>             Fix For: 2.0.0, 3.0.0, 1.4.0, 1.3.2, 1.5.0
>
>         Attachments: HBASE-18644-branch-1.3.patch
>
>
> Region Server JMX response has duplicate entries for  "compactionQueueLength" 
> "compactionQueueLength" : 0, 
> "smallCompactionQueueLength" : 0, 
> "largeCompactionQueueLength" : 0, 
> "compactionQueueLength" : 0, 
> "flushQueueLength" : 0
> We added "compactionQueueLength" metric twice in 
> MetricsRegionServerSourceImpl.java
> {code:title=MetricsRegionServerSourceImpl.java|borderStyle=solid}
> .addGauge(Interns.info(COMPACTION_QUEUE_LENGTH, COMPACTION_QUEUE_LENGTH_DESC),
>               rsWrap.getCompactionQueueSize())
>           .addGauge(Interns.info(SMALL_COMPACTION_QUEUE_LENGTH, 
> SMALL_COMPACTION_QUEUE_LENGTH_DESC),
>             rsWrap.getSmallCompactionQueueSize())
>           .addGauge(Interns.info(LARGE_COMPACTION_QUEUE_LENGTH, 
> LARGE_COMPACTION_QUEUE_LENGTH_DESC),
>             rsWrap.getLargeCompactionQueueSize())
>           .addGauge(Interns.info(COMPACTION_QUEUE_LENGTH, 
> COMPACTION_QUEUE_LENGTH_DESC),
>             rsWrap.getCompactionQueueSize())
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to