我尝试开始第一次抓取,我已经配置了数据库设置并执行以下命令:bin/nutch inject urls
错误结果如下:
InjectorJob: starting at 2014-07-18 08:13:34
InjectorJob: Injecting urlDir: urls
InjectorJob: Using class org.apache.gora.sql.store.SqlStore as the Gora storage class.
InjectorJob: java.lang.RuntimeException: job failed: name=inject urls, jobid=job_local1172062909_0001
at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:54)
at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:233)
at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:251)
at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:273)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:282)
有人可以帮助我吗?
答案 0 :(得分:0)
托马斯。
您使用的是什么版本的Gora? SqlStore仅在Gora 0.1上启用,现在是一个缺少要实现的功能。抱歉坏消息:(我认为sql模块因某些许可证问题而被删除了......我想。
对不起坏消息:(有一天,模块肯定会回来。