org.apache.hadoop.fs.FileAlreadyExistsException: Output directory hdfs://127.0.0.1:9000/user/hadoop/output already exists
解决:
hdfs的output目录已经存在,使用下面的命令删除就ok
hadoop@ubuntu:/usr/local/hadoop/bin$ hadoop fs -rmr output
org.apache.hadoop.fs.FileAlreadyExistsException: Output directory hdfs://127.0.0.1:9000/user/hadoop/output already exists
解决:
hdfs的output目录已经存在,使用下面的命令删除就ok
hadoop@ubuntu:/usr/local/hadoop/bin$ hadoop fs -rmr output