You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by TDLN <di...@gmail.com> on 2006/04/06 16:01:07 UTC

RuntimeException running Generator

nutch-users -

both in the whole web and intranet scenario's, I am now getting

060406 154710 Generator: Partitioning selected urls by host, for politeness.
060406 154710 parsing
jar:file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/lib/hadoop-0.1.0.jar!/hadoop-default.xml
060406 154710 parsing
file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/conf/nutch-default.xml
060406 154710 parsing
jar:file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/lib/hadoop-0.1.0.jar!/mapred-default.xml
060406 154710 parsing
file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/conf/nutch-site.xml
060406 154710 parsing
file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/conf/hadoop-site.xml
Exception in thread "main" java.lang.RuntimeException: class
org.apache.nutch.crawl.Generator$SelectorInverseMapper not
org.apache.hadoop.mapred.Mapper
        at org.apache.hadoop.conf.Configuration.setClass(Configuration.java:262)
        at org.apache.hadoop.mapred.JobConf.setMapperClass(JobConf.java:249)
        at org.apache.nutch.crawl.Generator.generate(Generator.java:263)
        at org.apache.nutch.crawl.Generator.main(Generator.java:317)

The exception is thrown as well when I start with a clean installation
from the nutch-nightly build, without my local changes and plugins. I
am using the nightly build from 2006-04-05.

Apart from what is described in the 0.8 tutorial, are there any steps
I should take to make my system work with 0.8?

Rgrds, Thomas

Re: RuntimeException running Generator

Posted by TDLN <di...@gmail.com>.
Oops, this one seems to have been fixed already:

http://mail-archive.com/nutch-user%40lucene.apache.org/msg04130.html

I will give it a shot with the last nightly build.

Rgrds, Thomas

On 4/6/06, TDLN <di...@gmail.com> wrote:
> nutch-users -
>
> both in the whole web and intranet scenario's, I am now getting
>
> 060406 154710 Generator: Partitioning selected urls by host, for politeness.
> 060406 154710 parsing
> jar:file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/lib/hadoop-0.1.0.jar!/hadoop-default.xml
> 060406 154710 parsing
> file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/conf/nutch-default.xml
> 060406 154710 parsing
> jar:file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/lib/hadoop-0.1.0.jar!/mapred-default.xml
> 060406 154710 parsing
> file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/conf/nutch-site.xml
> 060406 154710 parsing
> file:/home/tdelnoij/dev/sandbox/nutch-0.8-dev/conf/hadoop-site.xml
> Exception in thread "main" java.lang.RuntimeException: class
> org.apache.nutch.crawl.Generator$SelectorInverseMapper not
> org.apache.hadoop.mapred.Mapper
>         at org.apache.hadoop.conf.Configuration.setClass(Configuration.java:262)
>         at org.apache.hadoop.mapred.JobConf.setMapperClass(JobConf.java:249)
>         at org.apache.nutch.crawl.Generator.generate(Generator.java:263)
>         at org.apache.nutch.crawl.Generator.main(Generator.java:317)
>
> The exception is thrown as well when I start with a clean installation
> from the nutch-nightly build, without my local changes and plugins. I
> am using the nightly build from 2006-04-05.
>
> Apart from what is described in the 0.8 tutorial, are there any steps
> I should take to make my system work with 0.8?
>
> Rgrds, Thomas
>