Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6CE010EA7 for ; Fri, 13 Feb 2015 12:08:12 +0000 (UTC) Received: (qmail 67633 invoked by uid 500); 13 Feb 2015 12:08:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 67584 invoked by uid 500); 13 Feb 2015 12:08:12 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 67529 invoked by uid 99); 13 Feb 2015 12:08:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 12:08:12 +0000 Date: Fri, 13 Feb 2015 12:08:12 +0000 (UTC) From: "Ravi Kishore Valeti (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-12102) Duplicate keys in HBase.RegionServer metrics JSON MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Kishore Valeti updated HBASE-12102: ---------------------------------------- Attachment: HBASE-12102.patch > Duplicate keys in HBase.RegionServer metrics JSON > ------------------------------------------------- > > Key: HBASE-12102 > URL: https://issues.apache.org/jira/browse/HBASE-12102 > Project: HBase > Issue Type: Bug > Affects Versions: 1.0.0, 2.0.0, 0.98.10 > Reporter: Andrew Purtell > Assignee: Ravi Kishore Valeti > Priority: Minor > Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11 > > Attachments: HBASE-12102-0.98.patch, HBASE-12102.patch > > > The JSON returned by /jmx on the RegionServer contains duplicate 'tag.Context' keys for various HBase.RegionServer metrics. > Regions: > {noformat} > { > "name" : "Hadoop:service=HBase,name=RegionServer,sub=Regions", > "modelerType" : "RegionServer,sub=Regions", > "tag.Context" : "regionserver", > "tag.Context" : "regionserver", > "tag.Hostname" : "some.host.name", > ... > } > {noformat} > Server: > {noformat} > "name" : "Hadoop:service=HBase,name=RegionServer,sub=Server", > "modelerType" : "RegionServer,sub=Server", > "tag.Context" : "regionserver", > "tag.zookeeperQuorum" : "some.zookeeper.quorum.peers", > "tag.serverName" : "some.server.name", > "tag.clusterId" : "88c186ea-2308-4713-8b5f-5a3e829cbb10", > "tag.Context" : "regionserver", > ... > } > {noformat} > IPC: > {noformat} > { > "name" : "Hadoop:service=HBase,name=IPC,sub=IPC", > "modelerType" : "IPC,sub=IPC", > "tag.Context" : "ipc", > "tag.Context" : "ipc", > "tag.Hostname" : "some.host.name", > ... > } > {noformat} > This can cause issues with some JSON parsers. We should avoid emitting duplicate keys if it is under our control. -- This message was sent by Atlassian JIRA (v6.3.4#6332)