Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
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.