Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Problems with HBase JMX beans


Copy link to this message
-
Re: Problems with HBase JMX beans
HBASE-5718 seems to say it's reproducible only on openjdk.
HBase requires the jdk from Oracle (see
http://hbase.apache.org/book.html#basic.prerequisites).
Issues that occur on other jdk are not rejected, but usually receives a
lower priority. If someone provides a patch, it will be integrated.
On Mon, Dec 17, 2012 at 10:20 AM, Ivan Ryndin <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> when starting HBase on a single node have following exceptions in log
> files:
>
> =====================================> javax.management.NotCompliantMBeanException:
> org.apache.hadoop.hbase.master.MXBean: Method
> org.apache.hadoop.hbase.master.MXBean.getRegionServers has parameter or
> return type that cannot be translated into an open type
>         at
> com.sun.jmx.mbeanserver.Introspector.throwException(Introspector.java:419)
>         at
> com.sun.jmx.mbeanserver.MBeanAnalyzer.<init>(MBeanAnalyzer.java:118)
>         at
> com.sun.jmx.mbeanserver.MBeanAnalyzer.analyzer(MBeanAnalyzer.java:104)
>         at
>
> com.sun.jmx.mbeanserver.MXBeanIntrospector.getAnalyzer(MXBeanIntrospector.java:71)
>         at
>
> com.sun.jmx.mbeanserver.MBeanIntrospector.getPerInterface(MBeanIntrospector.java:181)
>         at
> com.sun.jmx.mbeanserver.MBeanSupport.<init>(MBeanSupport.java:136)
>         at
> com.sun.jmx.mbeanserver.MXBeanSupport.<init>(MXBeanSupport.java:66)
>         at
>
> com.sun.jmx.mbeanserver.Introspector.makeDynamicMBean(Introspector.java:184)
>         at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
>         at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:330)
>         at
>
> com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:516)
>         at
> org.apache.hadoop.metrics.util.MBeanUtil.registerMBean(MBeanUtil.java:58)
>         at
> org.apache.hadoop.hbase.master.HMaster.registerMBean(HMaster.java:1829)
>         at
>
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:562)
>         at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:349)
>         at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.run(HMasterCommandLine.java:220)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: java.lang.IllegalArgumentException: Method
> org.apache.hadoop.hbase.master.MXBean.getRegionServers has parameter or
> return type that cannot be translated into an open type
>         at
> com.sun.jmx.mbeanserver.ConvertingMethod.from(ConvertingMethod.java:45)
>         at
>
> com.sun.jmx.mbeanserver.MXBeanIntrospector.mFrom(MXBeanIntrospector.java:81)
>         at
>
> com.sun.jmx.mbeanserver.MXBeanIntrospector.mFrom(MXBeanIntrospector.java:51)
>         at
> com.sun.jmx.mbeanserver.MBeanAnalyzer.initMaps(MBeanAnalyzer.java:135)
>         at
> com.sun.jmx.mbeanserver.MBeanAnalyzer.<init>(MBeanAnalyzer.java:116)
>         ... 15 more
> Caused by: javax.management.openmbean.OpenDataException: Cannot obtain
> array class
>         at
>
> com.sun.jmx.mbeanserver.OpenConverter.openDataException(OpenConverter.java:1389)
>         at
>
> com.sun.jmx.mbeanserver.OpenConverter.makeArrayOrCollectionConverter(OpenConverter.java:346)
>         at
> com.sun.jmx.mbeanserver.OpenConverter.makeConverter(OpenConverter.java:295)
>         at
> com.sun.jmx.mbeanserver.OpenConverter.toConverter(OpenConverter.java:277)
>         at
>
> com.sun.jmx.mbeanserver.OpenConverter.makeTabularConverter(OpenConverter.java:376)
>         at
>
> com.sun.jmx.mbeanserver.OpenConverter.makeParameterizedConverter(OpenConverter.java:417)
>         at
> com.sun.jmx.mbeanserver.OpenConverter.makeConverter(OpenConverter.java:312)
>         at
> com.sun.jmx.mbeanserver.OpenConverter.toConverter(OpenConverter.java:277)
>         at
>
> com.sun.jmx.mbeanserver.OpenConverter.makeCompositeConverter(OpenConverter.java:482)
>         at
> com.sun.jmx.mbeanserver.OpenConverter.makeConverter(OpenConverter.java:309)
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB