0

I get the following error when I try to run nutch-1.5 on hadoop 1.03.

hadoop jar nutch-1.5.job org.apache.nutch.crawl.Crawl urls -dir urls -depth 1 -topN 5

**Caused by: java.io.IOException: can't find class: org.apache.nutch.protocol.ProtocolStatus because org.apache.nutch.protocol.ProtocolStatus**

I see the bug report https://issues.apache.org/jira/browse/NUTCH-1084 on nutch-1.3 but it seems that is not yet resolved. Any help is appreciated.

I follow this tutorials:

http://wiki.apache.org/nutch/NutchHadoopTutorial

http://wiki.apache.org/nutch/NutchTutorial

http://wiki.apache.org/hadoop/HowToConfigure

EDIT

I follow this tutorial http://www.rui-yang.com/develop/build-nutch-1-4-cluster-with-hadoop/ and it works for me. I don't know what exactly fix the problem. I run hadoop in a single node. I make this changes:

1.copy the hadoop-env.sh, core-site.xml, hdfs-site.xml, mapred-site.xml, master, slaves from hadoop/conf to nutch/conf and rebuild nutch

2.export CLASSPATH=:$NUTCH_HOME/runtime/local/lib

I create the following tutorial http://dataspider.blogspot.com.es/2012/09/instalacion-de-hadoop.html

4

1 回答 1

1

如果您想使用 hadoop 1.0.3,请使用 nutch1.5.1 而不是 1.5

查看 nutch1.5.1 的发行说明 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10680&version=12321850

它没有说明 NUTCH-1084 是否在此版本中得到修复,但此版本中包含以下补丁 https://issues.apache.org/jira/browse/NUTCH-1398

于 2012-09-12T04:37:41.117 回答