一:bug截图

Output directory hdfs://server2:9000/wordcount/input already exists

 

hadoop报错之bug3---hadoop的output目录已经存在

二:原因分析

1:写了同一个参数

 

 

 

hadoop报错之bug3---hadoop的output目录已经存在

2:还有可能就是该目录已经存在

hadoop报错之bug3---hadoop的output目录已经存在

三:解决方案

output目录必须不存在的,如果存在,需要删掉

1:使用hadoop命令行删除

hadoop fs -rm -r output

2:使用图形化删除

相关文章: