hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: hbase client and karaf
Date Tue, 27 Jan 2015 23:50:09 GMT
Looks like you are using HBase 0.90.5

See if there is jar of other HBase release in the classpath.

Cheers

On Tue, Jan 27, 2015 at 1:52 PM, <Yuling_C@dell.com> wrote:

> Dell Customer Communication
> Hi All,
>
> I'm trying to run hbase client in Karaf but kept getting version mismatch
> error:
>
>      at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
>         at
> com.sun.jmx.mbeanserver.MXBeanProxy$InvokeHandler.invoke(MXBeanProxy.java:150)
>         at com.sun.jmx.mbeanserver.MXBeanProxy.invoke(MXBeanProxy.java:167)
>         at
> javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:252)
>         at com.sun.proxy.$Proxy14.commitConfig(Unknown Source)
>         at
> org.opendaylight.controller.config.util.ConfigRegistryJMXClient.commitConfig(ConfigRegistryJMXClient.java:102)
>         at
> org.opendaylight.controller.netconf.confignetconfconnector.transactions.TransactionProvider.commitTransaction(TransactionProvider.java:110)
>         at
> org.opendaylight.controller.netconf.confignetconfconnector.operations.Commit.handleWithNoSubsequentOperations(Commit.java:54)
>         at
> org.opendaylight.controller.netconf.util.mapping.AbstractLastNetconfOperation.handle(AbstractLastNetconfOperation.java:33)
>         at
> org.opendaylight.controller.netconf.util.mapping.AbstractNetconfOperation.handle(AbstractNetconfOperation.java:100)
>         at
> org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.sendRequestGetResponseCheckIsOK(ConfigPusherImpl.java:280)
>         at
> org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.pushConfig(ConfigPusherImpl.java:239)
>         at
> org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.pushConfigWithConflictingVersionRetries(ConfigPusherImpl.java:128)
>         at
> org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.internalPushConfigs(ConfigPusherImpl.java:101)
>         at
> org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.process(ConfigPusherImpl.java:76)
>         at
> org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator$InnerCustomizer$1.run(ConfigPersisterActivator.java:175)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.RuntimeException: hbase-default.xml file seems to be
> for and old version of HBase (null), this version is 0.90.5
>         at
> org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66)
>         at
> org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:89)
>         at
> org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:100)
>         at
> org.apache.hadoop.hbase.client.HConnectionManager.<clinit>(HConnectionManager.java:135)
> Basically what I did was to wrap an hbase feature and install it from
> Karaf and then install my application feature that contains hbase client on
> Karaf as well.
>
> However, I kept getting this version mismatch issue...any idea?
>
> Thanks very much,
>
> YuLing
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message