简体   繁体   English

使用Nutch2.3配置MongoDB,有关indexerJob的某些错误?

[英]Configure MongoDB with Nutch2.3, some error about indexerJob?

I had successfully configure MongoDB(5.3.1) and Nutch(2.3), when I run the command "./bin/nutch index -all" some errors printed after inject/generate/fetch/parse/updatedb commands work,the error details like: 我已经成功配置了MongoDB(5.3.1)和Nutch(2.3),当我运行命令“ ./bin/nutch index -all”时,在inject / generate / fetch / parse / updatedb命令工作后打印了一些错误,错误详细信息喜欢:

SolrIndexerJob: java.lang.RuntimeException: job failed: name=apache-nutch-2.3.1.jar, jobid=job_local140530148_0001
    at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:120)
    at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:154)
    at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:176)
    at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:202)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:211)

I had configure the file in $NUTCH_HOME/runtime/local/conf/nutch-site.xml details: 我在$ NUTCH_HOME / runtime / local / conf / nutch-site.xml详细信息中配置了该文件:

在此输入图像描述

If all the others steps was running, it would be not a problem with mongodb but with solr (your nutch-site.xml suggests that you wanted index your data in solr). 如果所有其他步骤都在运行,那么mongodb不会出现问题,而是使用solr(你的nutch-site.xml表明你希望索引你的数据索引)。 As far that i remember, when i used solr, i precised the core name, it would be something like that : 至于我记得,当我使用solr,我精确核心名称,它将是这样的:

http://localhost:8983/solr/mycore/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM