Output directory hdfs://hadoop:8020/user/root/output already exists_output directory hdfs://hadoop102:8020/output alre-CSDN博客

网站介绍:文章浏览阅读6.9k次,点赞2次,收藏8次。异常提示: ERROR tool.ImportTool: Import failed: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://hadoop:8020/user/root/output already exists解决方案:这是因为每次MR都会生成一个output目录但是不能自动删除,..._output directory hdfs://hadoop102:8020/output already exists