As mentioned in [0], use older (0.90.x) version of HBase. Unfortunaltely,
HBase folks have removed the link from the downloads page. You can grab the
source code from [1] and build it.

[0] : http://wiki.apache.org/nutch/Nutch2Tutorial
[1] : https://svn.apache.org/repos/asf/hbase/tags/0.90.4/


On Fri, Jun 21, 2013 at 11:01 AM, Tony Mullins <tonymullins...@gmail.com>wrote:

> In site
> http://wiki.apache.org/nutch/Nutch2Tutorial?action=show&redirect=GORA_HBase
> its said that
> N.B. It's possible to encounter the following exception:
> java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration;
> this is caused by the fact that sometimes the hbase TEST jar is deployed in
> the lib dir. To resolve this just copy the lib over from your installed
> HBase dir into the build lib dir. (This issue is currently in progress).
>
> I have tried copying the HBase 0.94.8 lib in Nutch2.x/build/lib but still
> the same error.
>
> In my Nutch2.x/build/lib there are older versions of zookeeper and hbase
> and if I try to remove them from newer jars in HBase/lib then too it
> doesn't work.
>
> Please suggest me what else should I do.
>
> Thanks,
> Tony.
>
>
> On Fri, Jun 21, 2013 at 8:12 PM, Tony Mullins <tonymullins...@gmail.com
> >wrote:
>
> > Hi ,
> >
> > After getting some errors with Cassandra backend with Nutch2.x , I am
> > trying now HBase. I have installed HBase 94.8 and have also created
> sample
> > table in it.
> >
> > After following these links
> >
> > http://wiki.apache.org/nutch/RunNutchInEclipse
> >
> http://wiki.apache.org/nutch/Nutch2Tutorial?action=show&redirect=GORA_HBase
> >
> > I am getting this error when I try to run my first injector job:
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/hadoop/hbase/HBaseConfiguration
> >  at
> org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:108)
> >  at
> >
> org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102)
> >  at
> >
> org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161)
> >  at
> >
> org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:135)
> >  at
> > org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:75
> >
> > I have noticed one strange thing that as we tell gora-properties that our
> > cassandra is running at localhots:9160 , we dont do such thing in case of
> > HBase  and just telling it that our default datastore is HBase.
> >
> > So is there any missing step in these tutorials which could cause this
> > exception ?
> >
> > Thanks,
> > Tony.
> >
> >
> >
>

Reply via email to