NUTCH1.4 ECLIPSE3.6.2下运行出现如此错误,求解。。急。 20
Fetcher:finishedat2012-02-1916:46:34,elapsed:00:00:10ParseSegment:startingat2012-02-1...
Fetcher: finished at 2012-02-19 16:46:34, elapsed: 00:00:10
ParseSegment: starting at 2012-02-19 16:46:34
ParseSegment: segment: crawl/segments/20120219164611
Exception in thread "main" java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1265)
at org.apache.nutch.parse.ParseSegment.parse(ParseSegment.java:161)
at org.apache.nutch.crawl.Crawl.run(Crawl.java:138)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.crawl.Crawl.main(Crawl.java:55)
打开hadoop.log,关键提示如下
2012-02-19 16:46:34,344 WARN mapred.LocalJobRunner - job_local_0006
357 java.lang.Error: 无法解析的编译问题:
358 无法解析导入 org.cyberneko
359 org.ccil 无法解析为类型
360 org.ccil 无法解析为类型
361 org.ccil.cowan.tagsoup.Parser 无法解析为类型
362 org.ccil.cowan.tagsoup.Parser 无法解析为类型
363 DOMFragmentParser 无法解析为类型
364 DOMFragmentParser 无法解析为类型
365
366 at org.apache.nutch.parse.html.HtmlParser.<init>(HtmlParser.java:28)
367 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
368 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
369 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
370 at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
371 at java.lang.Class.newInstance0(Class.java:372)
372 at java.lang.Class.newInstance(Class.java:325)
373 at org.apache.nutch.plugin.Extension.getExtensionInstance(Extension.java:160)
374 at org.apache.nutch.parse.ParserFactory.getParsers(ParserFactory.java:132)
375 at org.apache.nutch.parse.ParseUtil.parse(ParseUtil.java:71)
376 at org.apache.nutch.parse.ParseSegment.map(ParseSegment.java:86)
377 at org.apache.nutch.parse.ParseSegment.map(ParseSegment.java:1)
378 at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
379 at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:436)
380 at org.apache.hadoop.mapred.MapTask.run(MapTask.java:372)
381 at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212) 展开
ParseSegment: starting at 2012-02-19 16:46:34
ParseSegment: segment: crawl/segments/20120219164611
Exception in thread "main" java.io.IOException: Job failed!
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1265)
at org.apache.nutch.parse.ParseSegment.parse(ParseSegment.java:161)
at org.apache.nutch.crawl.Crawl.run(Crawl.java:138)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.crawl.Crawl.main(Crawl.java:55)
打开hadoop.log,关键提示如下
2012-02-19 16:46:34,344 WARN mapred.LocalJobRunner - job_local_0006
357 java.lang.Error: 无法解析的编译问题:
358 无法解析导入 org.cyberneko
359 org.ccil 无法解析为类型
360 org.ccil 无法解析为类型
361 org.ccil.cowan.tagsoup.Parser 无法解析为类型
362 org.ccil.cowan.tagsoup.Parser 无法解析为类型
363 DOMFragmentParser 无法解析为类型
364 DOMFragmentParser 无法解析为类型
365
366 at org.apache.nutch.parse.html.HtmlParser.<init>(HtmlParser.java:28)
367 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
368 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
369 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
370 at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
371 at java.lang.Class.newInstance0(Class.java:372)
372 at java.lang.Class.newInstance(Class.java:325)
373 at org.apache.nutch.plugin.Extension.getExtensionInstance(Extension.java:160)
374 at org.apache.nutch.parse.ParserFactory.getParsers(ParserFactory.java:132)
375 at org.apache.nutch.parse.ParseUtil.parse(ParseUtil.java:71)
376 at org.apache.nutch.parse.ParseSegment.map(ParseSegment.java:86)
377 at org.apache.nutch.parse.ParseSegment.map(ParseSegment.java:1)
378 at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
379 at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:436)
380 at org.apache.hadoop.mapred.MapTask.run(MapTask.java:372)
381 at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:212) 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询