You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/09/14 20:13:33 UTC

[jira] Updated: (HBASE-2992) [replication] MalformedObjectNameException in ReplicationMetrics

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

Jean-Daniel Cryans updated HBASE-2992:
--------------------------------------

    Attachment: HBASE-2992.patch

I'm tempted to do like in the patch I just attached, simply URL encoding the name of the RS like we do for the hlog names.

> [replication] MalformedObjectNameException in ReplicationMetrics
> ----------------------------------------------------------------
>
>                 Key: HBASE-2992
>                 URL: https://issues.apache.org/jira/browse/HBASE-2992
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>            Priority: Critical
>             Fix For: 0.90.0
>
>         Attachments: HBASE-2992.patch
>
>
> It's possible to get an exception that looks like this when creating a new ReplicationSource:
> {noformat}
> javax.management.MalformedObjectNameException: Invalid character ',' in key part of property
>         at javax.management.ObjectName.construct(ObjectName.java:535)
>         at javax.management.ObjectName.<init>(ObjectName.java:1403)
>         at org.apache.hadoop.metrics.util.MBeanUtil.getMBeanName(MBeanUtil.java:80)
>         at org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:51)
>         at org.apache.hadoop.hbase.replication.regionserver.ReplicationStatistics.<init>(ReplicationStatistics.java:43)
>         at org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceMetrics.<init>(ReplicationSourceMetrics.java:77)
>         at org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.init(ReplicationSource.java:176)
> ...
> {noformat}
> Need to make sure the MBean's name is valid.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.