You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/09/26 18:43:33 UTC
[jira] [Commented] (HBASE-12102) Duplicate keys in
HBase.RegionServer metrics JSON
[ https://issues.apache.org/jira/browse/HBASE-12102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14149619#comment-14149619 ]
Andrew Purtell commented on HBASE-12102:
----------------------------------------
Any ideas [~eclark]?
> Duplicate keys in HBase.RegionServer metrics JSON
> -------------------------------------------------
>
> Key: HBASE-12102
> URL: https://issues.apache.org/jira/browse/HBASE-12102
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Priority: Minor
>
> 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)