日期:2014-05-20  浏览次数:20793 次

nutch启动时异常,寻高手指点
2011-03-14 18:47:05,593 INFO crawl.Crawl - crawl started in: crawled
2011-03-14 18:47:05,593 INFO crawl.Crawl - rootUrlDir = multiurls.txt
2011-03-14 18:47:05,593 INFO crawl.Crawl - threads = 5
2011-03-14 18:47:05,593 INFO crawl.Crawl - depth = 3
2011-03-14 18:47:05,593 INFO crawl.Crawl - indexer=lucene
2011-03-14 18:47:05,593 INFO crawl.Crawl - topN = 5
2011-03-14 18:47:05,609 INFO crawl.Injector - Injector: starting at 2011-03-14 18:47:05
2011-03-14 18:47:05,609 INFO crawl.Injector - Injector: crawlDb: crawled/crawldb
2011-03-14 18:47:05,609 INFO crawl.Injector - Injector: urlDir: multiurls.txt
2011-03-14 18:47:05,640 INFO crawl.Injector - Injector: Converting injected urls to crawl db entries.
2011-03-14 18:47:05,703 WARN mapred.JobClient - Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
2011-03-14 18:47:05,875 WARN mapred.JobClient - No job jar file set. User classes may not be found. See JobConf(Class) or JobConf#setJar(String).
2011-03-14 18:47:06,312 WARN plugin.PluginRepository - Plugins: directory not found: plugins
2011-03-14 18:47:06,328 INFO plugin.PluginRepository - Plugin Auto-activation mode: [true]
2011-03-14 18:47:06,328 INFO plugin.PluginRepository - Registered Plugins:
2011-03-14 18:47:06,328 INFO plugin.PluginRepository - NONE
2011-03-14 18:47:06,328 INFO plugin.PluginRepository - Registered Extension-Points:
2011-03-14 18:47:06,328 INFO plugin.PluginRepository - NONE
2011-03-14 18:47:06,328 WARN mapred.LocalJobRunner - 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:354)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:177)
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


------解决方案--------------------
改过什么配置吧?