You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by kaveh minooie <ka...@plutoz.com> on 2013/08/17 01:11:02 UTC
problem with running 2.x in eclipse
Hi everyone
so I am trying to run in eclipse and I followed this
https://wiki.apache.org/nutch/RunNutchInEclipse
Now when I am trying to run inject command I get this in the hadoop.log
2013-08-16 15:57:18,184 WARN snappy.LoadSnappy - Snappy native library
not loaded
2013-08-16 15:57:18,716 INFO mapreduce.GoraRecordWriter -
gora.buffer.write.limit = 10000
2013-08-16 15:57:18,736 WARN plugin.PluginRepository - Plugins:
directory not found: plugins
2013-08-16 15:57:18,738 WARN mapred.FileOutputCommitter - Output path
is null in cleanup
2013-08-16 15:57:18,739 WARN mapred.LocalJobRunner -
job_local1120981005_0001
java.lang.Exception: java.lang.RuntimeException: x point
org.apache.nutch.net.URLNormalizer not found.
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:354)
Caused by: java.lang.RuntimeException: x point
org.apache.nutch.net.URLNormalizer not found.
at org.apache.nutch.net.URLNormalizers.<init>(URLNormalizers.java:122)
as you can see, nutch can not see the plugins directory. my eclipse is
4.3 so the order and export tab in the java build path dialog box is a
bit different, but I think everything is set correctly. Now I know the
extensions and using the extension point is a bit new in nutch so I was
wondering if, in addition to what is said in the tutorial, there are
other stuff that need to be configured in eclipse to be able to run the
code within eclipse?
thanks,
--
Kaveh Minooie
Re: problem with running 2.x in eclipse
Posted by kaveh minooie <ka...@plutoz.com>.
Never mind. using absolute path took care of the issue. my I suggest
that in the wiki (
http://wiki.apache.org/nutch/RunNutchInEclipse#Troubleshooting ) in the
trouble shooting section, the sample absolute path should not be the
src/plugin, it should be build/plugins as in:
<property>
<name>plugin.folders</name>
<value>/home/....../trunk/build/plugin</value>
</property>
On 08/16/2013 04:11 PM, kaveh minooie wrote:
> Hi everyone
> so I am trying to run in eclipse and I followed this
> https://wiki.apache.org/nutch/RunNutchInEclipse
>
> Now when I am trying to run inject command I get this in the hadoop.log
>
> 2013-08-16 15:57:18,184 WARN snappy.LoadSnappy - Snappy native library
> not loaded
> 2013-08-16 15:57:18,716 INFO mapreduce.GoraRecordWriter -
> gora.buffer.write.limit = 10000
> 2013-08-16 15:57:18,736 WARN plugin.PluginRepository - Plugins:
> directory not found: plugins
> 2013-08-16 15:57:18,738 WARN mapred.FileOutputCommitter - Output path
> is null in cleanup
> 2013-08-16 15:57:18,739 WARN mapred.LocalJobRunner -
> job_local1120981005_0001
> java.lang.Exception: java.lang.RuntimeException: x point
> org.apache.nutch.net.URLNormalizer not found.
> at
> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:354)
> Caused by: java.lang.RuntimeException: x point
> org.apache.nutch.net.URLNormalizer not found.
> at org.apache.nutch.net.URLNormalizers.<init>(URLNormalizers.java:122)
>
> as you can see, nutch can not see the plugins directory. my eclipse is
> 4.3 so the order and export tab in the java build path dialog box is a
> bit different, but I think everything is set correctly. Now I know the
> extensions and using the extension point is a bit new in nutch so I was
> wondering if, in addition to what is said in the tutorial, there are
> other stuff that need to be configured in eclipse to be able to run the
> code within eclipse?
>
> thanks,
--
Kaveh Minooie