Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-2992

[replication] MalformedObjectNameException in ReplicationMetrics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.89.20100924, 0.90.0
    • None
    • None

    Description

      It's possible to get an exception that looks like this when creating a new ReplicationSource:

      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)
      
      ...
      

      Need to make sure the MBean's name is valid.

      Attachments

        1. HBASE-2992.patch
          1 kB
          Jean-Daniel Cryans

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: