[
https://issues.apache.org/jira/browse/HDDS-9163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-9163:
---------------------------------
Labels: pull-request-available (was: )
> Warn log BlockManagerImpl is not a JMX compliant MXBean
> --------------------------------------------------------
>
> Key: HDDS-9163
> URL: https://issues.apache.org/jira/browse/HDDS-9163
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Sumit Agrawal
> Assignee: Sumit Agrawal
> Priority: Minor
> Labels: pull-request-available
>
> Warnlog is comming on startup but do not have any functional impact,
> {code:java}
> 2023-08-08 20:31:08,484 [Mini-Cluster-Provider-Create] WARN util.MBeans
> (MBeans.java:register(111)) - Failed to register MBean
> "Hadoop:service=BlockManager,name=BlockManagerImpl"
> javax.management.NotCompliantMBeanException: MBean class
> org.apache.hadoop.hdds.scm.block.BlockManagerImpl does not implement
> DynamicMBean, and neither follows the Standard MBean conventions
> (javax.management.NotCompliantMBeanException: Class
> org.apache.hadoop.hdds.scm.block.BlockManagerImpl is not a JMX compliant
> Standard MBean) nor the MXBean conventions
> (javax.management.NotCompliantMBeanException:
> org.apache.hadoop.hdds.scm.block.BlockManagerImpl: Class
> org.apache.hadoop.hdds.scm.block.BlockManagerImpl is not a JMX compliant
> MXBean)
> at
> com.sun.jmx.mbeanserver.Introspector.checkCompliance(Introspector.java:176)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:317)
> at
> com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
> at org.apache.hadoop.metrics2.util.MBeans.register(MBeans.java:100)
> at org.apache.hadoop.metrics2.util.MBeans.register(MBeans.java:73)
> at
> org.apache.hadoop.hdds.scm.block.BlockManagerImpl.<init>(BlockManagerImpl.java:94)
> at
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.initializeSystemManagers(StorageContainerManager.java:786)
> at
> org.apache.hadoop.hdds.scm.server.StorageContainerManager.<init>(StorageContainerManager.java:400)
> {code}
> This can be fixed defining it as MBean
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]