You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Maddineni Sukumar (JIRA)" <ji...@apache.org> on 2017/08/21 20:56:00 UTC
[jira] [Created] (HBASE-18644) Duplicate "compactionQueueLength"
metric in Region Server metrics
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)