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

Maddineni Sukumar updated HBASE-18644:
--------------------------------------
    Description: 
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}

  was:
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=Bar.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}


> 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
>
> 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