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
大功告成!!