Maddineni Sukumar created HBASE-18644:
-----------------------------------------

             Summary: 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=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}



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

Reply via email to