Hi Diego,

On Mon, May 9, 2016 at 2:32 AM, <user-digest-h...@nutch.apache.org> wrote:

>
> From: diego gullo <diegogu...@gmail.com>
> To: user@nutch.apache.org
> Cc:
> Date: Sat, 7 May 2016 09:41:00 +0100
> Subject: Newbie trouble - Hbase class not found
> I am trying Nutch for the first time. I created an automated docker setup
> to load
> Nutch 2 + Hbase (i had tried cassandra but could not get it to work so i
> thought i start with Hbase to give it a try)
>

I would suggest you to use the official Nutch containers which can be found
at
https://github.com/apache/nutch/tree/2.x/docker/hbase


>
> The project is available at https://github.com/bizmate/nutch
>

Nice, thanks for posting


> and with docker compose you can start the containers with a running
> instance of Nutch  exposed on 8899 and Hbase.
>

Cool.


>
> in gora.properties i already enabled hbase
>
> gora.datastore.default=org.apache.gora.hbase.store.HBaseStore
>
>
> But i get Hbase class not found error when I run this command.
>
> root@87b87f55835e:/opt/nutch# bin/nutch inject urls.txt
>
> InjectorJob: starting at 2016-05-07 08:37:49
>
> InjectorJob: Injecting urlDir: urls.txt
>
> *InjectorJob: java.lang.ClassNotFoundException:
> org.apache.gora.hbase.store.HBaseStore*
>
>
[snip]


>
> Suggestions?
>
>
Yes, you've not enabled the gora-hbase dependency download from within
ivy/ivy.xml
https://github.com/apache/nutch/blob/2.x/ivy/ivy.xml#L114-L117

Please refer to the tutorial for further advice
http://wiki.apache.org/nutch/Nutch2Tutorial
Thanks

-- 
*Lewis*

Reply via email to