You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by 12rad <pr...@gmail.com> on 2012/07/08 02:13:56 UTC
java.lang.RuntimeException: x point
org.apache.nutch.net.URLNormalizer not found.
Hi
I'm trying to run nutch in eclipse.
I followed the instruction on the wiki page
http://wiki.apache.org/nutch/RunNutchInEclipse
http://wiki.apache.org/nutch/RunNutchInEclipse
It builds correctly but when i try and run it I get the following exception.
What am I missing?
unner (LocalJobRunner.java:run(298)) - job_local_0001
java.lang.RuntimeException: Error in configuring object
at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64)
at
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:432)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:372)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:88)
... 5 more
Caused by: java.lang.RuntimeException: Error in configuring object
at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64)
at
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
at org.apache.hadoop.mapred.MapRunner.configure(MapRunner.java:34)
... 10 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:88)
... 13 more
Caused by: java.lang.RuntimeException: x point
org.apache.nutch.net.URLNormalizer not found.
at org.apache.nutch.net.URLNormalizers.<init>(URLNormalizers.java:122)
at org.apache.nutch.crawl.Injector$InjectMapper.configure(Injector.java:70)
... 18 more
2012-07-07 17:08:12,697 INFO mapred.JobClient
(JobClient.java:monitorAndPrintJob(1301)) - map 0% reduce 0%
2012-07-07 17:08:12,701 INFO mapred.JobClient
(JobClient.java:monitorAndPrintJob(1356)) - Job complete: job_local_0001
2012-07-07 17:08:12,701 INFO mapred.JobClient (Counters.java:log(585)) -
Counters: 0
2012-07-07 17:08:12,702 INFO mapred.JobClient (JobClient.java:runJob(1264))
- Job Failed: NA
Exception in thread "main" java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1265)
at org.apache.nutch.crawl.Injector.inject(Injector.java:217)
at org.apache.nutch.crawl.Crawl.run(Crawl.java:127)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.crawl.Crawl.main(Crawl.java:55)
--
View this message in context: http://lucene.472066.n3.nabble.com/java-lang-RuntimeException-x-point-org-apache-nutch-net-URLNormalizer-not-found-tp3993699.html
Sent from the Nutch - User mailing list archive at Nabble.com.
java.lang.RuntimeException: x point org.apache.nutch.net.URLNormalizer
not found.
Posted by Sagar Handore <sa...@zymrinc.com>.
Follow the following steps:
1. Execute 'ant job' i.e. open build.xml and execute 'runtime(default)'
target.
It will generate 'runtime' folder in project.
2. Open nutch-default.xml and update "plugin.folders" to
"/home/..../nutchProject/runtime/local/plugins"
3. Refresh the project.
4. Run the project.
--
============================================================================
IMPORTANT NOTICE: The information in this e-mail and any attached files is
CONFIDENTIAL and may be legally privileged or prohibited from disclosure
and unauthorised use. The views of the author may not necessarily reflect
those of Zymr, Inc. It is intended solely for the addressee, or the
employee or agent responsible for delivering such materials to the
addressee. If you have received this message in error please return it to
the sender then delete the email and destroy any copies of it. If you are
not the intended recipient, any form of reproduction, dissemination,
copying, disclosure, modification, distribution and/or publication, or any
action taken or omitted to be taken in reliance upon this message or its
attachments is prohibited and may be unlawful. At present the integrity of
e-mail across the Internet cannot be guaranteed and messages sent via this
medium are potentially at risk. All liability is excluded to the extent
permitted by law for any claims arising as a result of the use of this
medium to transmit information by or to Zymr, Inc.