简体   繁体   English

如何使用 hadoop 配置 nutch 1.4?

[英]How to configure nutch 1.4 with hadoop?

When I am firing this command当我触发这个命令时

./bin/hadoop dfs -put url/urls_test url/urls_test

URLs are getting up correctly. URL 正确启动。

But below command is showing error但下面的命令显示错误

./bin/nutch crawl url/urls_test -dir cr_demo -depth 1

ERROR错误

java.lang.RuntimeException: Error in configuring object

The error which u hav pasted comes if NUTCH_CONF_DIR and NUTCH_HOME are not exported or pointed to wrong location.如果 NUTCH_CONF_DIR 和 NUTCH_HOME 未导出或指向错误位置,则会出现您粘贴的错误。

See this http://www.rui-yang.com/develop/build-nutch-1-4-cluster-with-hadoop/ for detailed steps for using nutch 1.4 with hadoop 0.20请参阅此http://www.rui-yang.com/develop/build-nutch-1-4-cluster-with-hadoop/了解将 nutch 1.4 与 hadoop 0.20 一起使用的详细步骤

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

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