org.apache.hadoop.mapred.FileAlreadyExistsException 解决方案

org.apache.hadoop.mapred.FileAlreadyExistsException 解决方案,第1张

Exception in thread “main”
org.apache.hadoop.mapred.FileAlreadyExistsException: Output
directory temp/preparePreferenceMatrix/itemIDIndex already exists

然而这个目录通过Hadoop的web界面并查询不到!!

解决方法:(直接remove掉在运行)

hadoop fs -rm -r temp/preparePreferenceMatrix/itemIDIndex
hadoop fs -rm -r temp

大功告成!!

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/langs/791406.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-05
下一篇2022-05-05

发表评论

登录后才能评论

评论列表(0条)

    保存