您的位置:首页 > 编程语言 > Java开发

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

2013-01-20 18:18 351 查看
运行: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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐