同步到Hadoop时报错 ERROR tool.ImportTool: Import failed: org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://nameservice1/user/hive/warehouse/wxwy.db/manyidu_month_tmp already exists
原因:因之前已经存在数据文件,所以这个目录存在
解决办法:删除此目录即可
hdfs dfs -rm -r -skipTrash /user/hive/warehouse/wxwy.db/manyidu_month_tmp
删除之后再同步即可成功