[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


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.

Reply via email to