Hi Gajalakshmi.G,
Firstly, it's important for me to state that Nutch 2.X is deprecated. No
more development ius happening on the 2.X branch.
That being said, please see my comments inline below

On Thu, Sep 17, 2020 at 7:45 AM <user-digest-h...@nutch.apache.org> wrote:

>
> I am using Nutch 2.4 with Hadoop 3.1.1


To the best of my knowledge, Nutch 2.4 was never tested against Hadoop 3.x
https://github.com/apache/nutch/blob/release-2.4/ivy/ivy.xml#L49-L61


> and hbase 2.0.2 along with Gora 0.9 version.
>

It was also not tested against Gora 0.9
https://github.com/apache/nutch/blob/release-2.4/ivy/ivy.xml#L107
However Gora 0.9 WAS tested against HBase 2.1.1
https://github.com/apache/gora/blob/apache-gora-0.9/pom.xml#L787
HOWEVER Gora 0.9 WAS NOT tested against Hadoop 3.X


>
> I am getting below error  while trying to run the code:
>

... <snip>


> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.io
> .LimitInputStream
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         ... 22 more
>

The ClassNotFoundException is most likely caused by an incompatible
dependency trail as I describe above. If you really wanted to use Nutch 2.X
(which I would advise ag=ainst at this stage) then you would need to update
the dependency chain.

Sorry I can't be of any further help.
Lewis

Reply via email to