Hi,
Now my nutch-default file looks like :
<!-- plugin properties -->
<property>
<name>plugin.folders</name>
<value>C:/Java/crawler_workspace/nutch/conf/src/plugin</value>
<description>Directories where nutch plugins are located. Each
element may be a relative or absolute path. If absolute, it is used
as is. If relative, it is searched for on the classpath.</description>
</property>
And i have added the conf folder to my classpath...
But always the same error :
Exception in thread "main" java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1217)
at org.apache.nutch.crawl.Injector.inject(Injector.java:160)
at org.apache.nutch.crawl.Crawl.main(Crawl.java:112)
If someone has an idea !
TY all
2009/1/25 Doğacan Güney <[email protected]>
> On Sun, Jan 25, 2009 at 3:58 PM, Nicolas MARTIN <[email protected]>
> wrote:
> > Hi all,
> >
> > I'm running Nutch v-0.9 under Eclipse GANYMEDE.
> > I've got the following log (last lines) :
> >
> > java.lang.IllegalArgumentException: plugin.folders is not defined
> > at
> >
> org.apache.nutch.plugin.PluginManifestParser.parsePluginFolder(PluginManifestParser.java:78)
> > at
> > org.apache.nutch.plugin.PluginRepository.<init>(PluginRepository.java:72)
> > at
> > org.apache.nutch.plugin.PluginRepository.get(PluginRepository.java:95)
> > at org.apache.nutch.net.URLNormalizers.<init>(URLNormalizers.java:117)
> > at
> > org.apache.nutch.crawl.Injector$InjectMapper.configure(Injector.java:57)
> > at
> > org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:58)
> > at
> >
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:83)
> > at org.apache.hadoop.mapred.MapRunner.configure(MapRunner.java:34)
> > at
> > org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:58)
> > at
> >
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:83)
> > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:328)
> > at
> > org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:138)
> > Exception in thread "main" java.io.IOException: Job failed!
> > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1217)
> > at org.apache.nutch.crawl.Injector.inject(Injector.java:160)
> > at org.apache.nutch.crawl.Crawl.main(Crawl.java:112)
> >
> > Here is my nutch-default conf file :
> >
> > <!-- plugin properties -->
> >
> > <property>
> > <name>plugin.folders</name>
> > <value>../src/plugin</value>
> > <description>Directories where nutch plugins are located. Each
> > element may be a relative or absolute path. If absolute, it is used
> > as is. If relative, it is searched for on the classpath.</description>
> > </property>
> >
> > Someone has an idea ??
> >
>
> Try adding your conf directory to your classpath in run configurations.
> Also
> I think you will have to make plugin.folders point to an absolute path
> (which
> is $NUTCH_HOME/build/plugins not src/plugin).
>
> > TY all
> >
>
>
>
> --
> Doğacan Güney
>