hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Hariharan_Sethura...@Dell.com>
Subject RE: Has anybody used hbase client 1.0.x in karaf environment
Date Thu, 11 Jun 2015 15:04:38 GMT
Yes, I noticed it. However the image was about the same package in both the JAR's. Attaching
the related emails - not sure if it will reach you.

Here is the exception trace.

Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration
                at org.opendaylight.tsdr.persistence.hbase.HBaseDataStore.createTable(HBaseDataStore.java:149)[303:org.opendaylight.tsdr.persistence-hbase:1.0.0.SNAPSHOT]
                ... 10 more
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.HBaseConfiguration
                at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:]
                at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:]
                at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:]
                at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)[org.eclipse.osgi-3.8.2.v20130124-134944.jar:]
                at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_75]
                ... 11 more

Thanks,
Hari

-----Original Message-----
From: Ted Yu [mailto:yuzhihong@gmail.com]
Sent: Thursday, June 11, 2015 7:43 PM
To: user@hbase.apache.org
Cc: C, Yuling
Subject: Re: Has anybody used hbase client 1.0.x in karaf environment

Looks like the attached image didn't go through.

Mind giving the stack trace for the NoClassDefFoundError ?

Thanks

On Wed, Jun 10, 2015 at 10:10 PM, wrote:

> Hi hbase users,
>
>
>
> [Reposting this issue]
>
>
>
> Hbase-client 0.94.x is working fine in karaf environment. We are
> working on a task to use latest/stable hbase-client 1.0.x version.
> Since the hbase-client requires hbase-common, having both referred in
> our pom.xml, classes from package
> hbase-common.jar's-org.apache.hadoop.hbase are not loaded and hitting
> 'java.lang.NoClassDefFoundError:'. Not sure it is because the same package is already
loaded from hbase-client-1.0.1.jar.
>
>
>
> I am also trying the servicemix bundle approach and raised
> https://issues.apache.org/jira/browse/SMXCOMP-982
>
>
>
> If any of you have used this version in karaf environment, please let
> me know the pom.xml and features.xml changes. Any pointers will be appreciated.
>
>
>
> Thanks,
>
> Hari
>
>
>
>
>
> [image: cid:image001.png@01D0989F.B411ECC0]
>

Mime
View raw message