[ https://issues.apache.org/jira/browse/HBASE-24402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113681#comment-17113681 ]
Jeongdae Kim commented on HBASE-24402: -------------------------------------- [~vincentpoon] [~enis] Can you take a look at this issue? I think other versions also have this issue. > Moving the meta region causes MetricsException when using above 2.6.0 hadoop > version > ------------------------------------------------------------------------------------ > > Key: HBASE-24402 > URL: https://issues.apache.org/jira/browse/HBASE-24402 > Project: HBase > Issue Type: Bug > Affects Versions: 1.4.13 > Reporter: Jeongdae Kim > Assignee: Jeongdae Kim > Priority: Minor > > When the meta region moved out from a region server then moved in to the one > again, we got MetricsException below and the metric source for coprocessor > couldn't be re-registered. it happened with hadoop 2.8.5 > {noformat} > 2020-04-21 15:13:02,956 WARN [HBase-Metrics2-1] util.MBeans: Error creating > MBean object name: > Hadoop:service=HBase,name=RegionServer,sub=Coprocessor.Region.C > P_org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint > org.apache.hadoop.metrics2.MetricsException: > org.apache.hadoop.metrics2.MetricsException: > Hadoop:service=HBase,name=RegionServer,sub=Coprocessor.Region.CP_org. > apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint already exists! > at > org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newObjectName(DefaultMetricsSystem.java:127) > at > org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newMBeanName(DefaultMetricsSystem.java:102) > at org.apache.hadoop.metrics2.util.MBeans.getMBeanName(MBeans.java:121) > at org.apache.hadoop.metrics2.util.MBeans.register(MBeans.java:64) > at > org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.startMBeans(MetricsSourceAdapter.java:222) > at > org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.start(MetricsSourceAdapter.java:100) > at > org.apache.hadoop.metrics2.impl.MetricsSystemImpl.registerSource(MetricsSystemImpl.java:268) > at > org.apache.hadoop.metrics2.impl.MetricsSystemImpl$1.postStart(MetricsSystemImpl.java:239) > at jdk.internal.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at > org.apache.hadoop.metrics2.impl.MetricsSystemImpl$3.invoke(MetricsSystemImpl.java:320) > at com.sun.proxy.$Proxy10.postStart(Unknown Source) > at > org.apache.hadoop.metrics2.impl.MetricsSystemImpl.start(MetricsSystemImpl.java:193) > at > org.apache.hadoop.metrics2.impl.JmxCacheBuster$JmxCacheBusterRunnable.run(JmxCacheBuster.java:109) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) > at > java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) > at > java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) > at java.base/java.lang.Thread.run(Thread.java:834) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)