版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq403580298/article/details/82974674
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
大功告成!!