OK , I have soled my
NoClassDefFoundErro<https://wiki.apache.org/nutch/NoClassDefFoundError>issue.

And if someone could add this info to
https://wiki.apache.org/nutch/Nutch2Tutorial , I think it may will be
usefull for new Nutch users.

After following the Nutch2Tutorial if you get " java.lang.
NoClassDefFoundError <https://wiki.apache.org/nutch/NoClassDefFoundError>:
org/apache/hadoop/hbase/HBaseConfiguration" error then you have to copy the
hbase-0.90.4.jar or hbase-0.90.6.jar ( which ever hbase 0.90.x version you
are using )  from hbase install directory and replace  the hbase-0.90.4.jar
of Nutch2.x/build/lib with it.
And if you are using hbase-0.90.6 then you have to do one more extra step
i.e. go to your eclipse Buildpath > Libraries and remove the
hbase-0.90.4.jar and add your hbase-0.90.6.jar ( that you have already
copied to Nutch2.x/build/lib) and thats it. Now you can run your Nutch jobs
with hbase.

Although I am facing a new issue here with hbase, I am not getting the text
of my parsed pages and this nothing is inserted in my solrindex but for
that I am starting a new thread.

Thanks,
Tony


On Mon, Jun 24, 2013 at 9:16 AM, Tejas Patil <[email protected]>wrote:

> Thanks Prashant. The link is modified in [0]
>
> [0] : https://wiki.apache.org/nutch/Nutch2Tutorial
>
>
> On Sun, Jun 23, 2013 at 8:56 PM, Prashant Ladha <[email protected]
> >wrote:
>
> > I do know that this topic is closed but I found a better link so thought
> of
> > sharing it.
> > I found the Apache link [0] for downloading the hbase 0.90.4 plus it has
> > previous versions as well.
> > I recommend of adding this link in the installation documentation itself.
> >
> > [0] http://archive.apache.org/dist/hbase/hbase-0.90.4/
> >
> >
> > On Sun, Jun 23, 2013 at 12:52 AM, Tony Mullins <[email protected]
> > >wrote:
> >
> > > Hi,
> > >
> > > Now I have tried HBase 0.90.4 & 0.90.6 but still getting
> > > "Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/hadoop/hbase/HBaseConfiguration"
> > > I have also tried copying my HBase lib directory to nutch2.x/build/lib
> ,
> > > but still getting this error.
> > >
> > > My ivy.xml is
> > >  <dependency org="org.apache.gora" name="gora-hbase" rev="0.3"
> > > conf="*->default" />
> > > And I can see hbase-0.90.4.jar generated in my nutch2.x/buil/lib
> > directory
> > > with zookeeper-3.3.2.jar.
> > >
> > > So what should I do now to resolve this error ?
> > > And what is the role of 'hbase-site.xml' in nutch2.x/conf  ?
> > >
> > > Thanks.
> > > Tony
> > >
> > >
> > > On Fri, Jun 21, 2013 at 11:42 PM, Lewis John Mcgibbney <
> > > [email protected]> wrote:
> > >
> > > > On Fri, Jun 21, 2013 at 11:40 AM, Tony Mullins <
> > [email protected]
> > > > >wrote:
> > > >
> > > > > Thanks guys for your help & support.
> > > > >
> > > >
> > > > No hassle great to have you poking around and using the software. We
> > know
> > > > there is work to be done. Thank you
> > > >
> > > >
> > > > >
> > > > > I'll try it now with HBase 0.90.x.
> > > > >
> > > >
> > > > Let us know how you get on.
> > > >
> > > >
> > > > >
> > > > > (In .net world latest is greatest, seems its not the case here : )
> )
> > > > >
> > > > > We wish. There is only 24 hours in every day and we need to sleep
> as
> > > well
> > > > ;)
> > > > Best
> > > >
> > >
> >
>

Reply via email to