Nutch 运行错误

Exception in thread "main" java.io.IOException: Job failed!
	at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1252)
	at org.apache.nutch.crawl.Injector.inject(Injector.java:217)
	at org.apache.nutch.crawl.Crawl.main(Crawl.java:124)

解决办法:在cygwin中输入:export LANG="zh_CN.GBK" ,而后回车
其实就是设置下linux的环境变量。
 
 
转自:http://nhy520.iteye.com/blog/1477087, 向其致敬!

你可能感兴趣的:(windows,error,Nutch,出错)