You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/08/05 07:28:11 UTC

[jira] [Commented] (PHOENIX-1129) NotCompliantMBeanException

    [ https://issues.apache.org/jira/browse/PHOENIX-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085825#comment-14085825 ] 

James Taylor commented on PHOENIX-1129:
---------------------------------------

Spurious warnings like this tend to confuse users. If we can prevent or suppress this, then we should.

> NotCompliantMBeanException
> --------------------------
>
>                 Key: PHOENIX-1129
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1129
>             Project: Phoenix
>          Issue Type: Sub-task
>    Affects Versions: 5.0.0, 4.1
>         Environment: Java 1.6_21 x64, HBase 0.98.4, Hadoop 2.4
>            Reporter: Mujtaba Chohan
>            Assignee: Jesse Yates
>            Priority: Trivial
>
> Java 1.6_21 x64, HBase 0.98.4, Hadoop 2.4, Phoenix 4.0 branch. On new client connection:
> Failed to register MBean "Hadoop:service=phoenix,name=tracing"
> javax.management.NotCompliantMBeanException: Bad getMBeanInfo()
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(DefaultMBeanServerInterceptor.java:342)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:325)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:526)
> 	at org.apache.hadoop.metrics2.util.MBeans.register(MBeans.java:57)
> 	at org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.startMBeans(MetricsSourceAdapter.java:220)
> 	at org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.start(MetricsSourceAdapter.java:95)
> 	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.registerSource(MetricsSystemImpl.java:244)
> 	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:222)
> 	at org.apache.phoenix.metrics.MetricsManagerImpl.registerSource(MetricsManagerImpl.java:46)
> 	at org.apache.phoenix.trace.TraceMetricSource.<init>(TraceMetricSource.java:103)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
> 	at java.lang.Class.newInstance(Class.java:374)
> 	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373)
> 	at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
> 	at org.apache.hadoop.hbase.CompatibilityFactory.getInstance(CompatibilityFactory.java:46)
> 	at org.apache.phoenix.trace.TracingCompat.newTraceMetricSource(TracingCompat.java:40)
> 	at org.apache.phoenix.jdbc.PhoenixConnection.<clinit>(PhoenixConnection.java:133)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl$9.call(ConnectionQueryServicesImpl.java:1462)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl$9.call(ConnectionQueryServicesImpl.java:1431)
> 	at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:77)
> 	at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1431)
> 	at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:132)
> 	at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:126)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:615)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:167)
> 	at org.apache.phoenix.util.PhoenixRuntime.main(PhoenixRuntime.java:138)
> Caused by: java.lang.NullPointerException
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(DefaultMBeanServerInterceptor.java:339)
> 	... 28 more



--
This message was sent by Atlassian JIRA
(v6.2#6252)