java.io.IOException: The temporary job-output directory file:/usr/nutch1.4/runtime/local/sina/crawld


运行:bin/nutch crawl urls -dir sina -depth 2 -topN 2

出现该问题:

java.io.IOException: The temporary job-output directory file:/usr/nutch1.4/runtime/local/sina/crawldb/1061684570/_temporary doesn't exist!


这是因为bin/nutch crawl urls -dir sina -depth 2 -topN 2建的sina文件夹是在 /usr/下

没有权限;

故而解决办法是:sudo  bin/nutch crawl urls -dir sina -depth 2 -topN 2




你可能感兴趣的:(java.io.IOException: The temporary job-output directory file:/usr/nutch1.4/runtime/local/sina/crawld)