sqoop 配置单元导入 "has not been cleaned" 异常

sqoop hive import "has not been cleaned" exception

当我尝试运行以下sqoop命令时

sqoop import \
--connect jdbc:mysql://hostname.com:3306/retail_db \
--username **** \
--password **** \
--table customers \
--hive-import \
--hive-database hariharan_hive \
--hive-table hivecustomers \
--hive-overwrite

我遇到了异常,因为

" Failed with exception Destination directory hdfs://nn01.itversity.com:8020/apps/hive/warehouse/hariharan_hive.db/hivecustomers has not be cleaned up. "

但是异常中给出的路径不存在.. 有人可以帮我吗?..

如何通过以下命令清除 Hive Metastore:

(hive shell)> msck repair table hariharan_hive.hivecustomers;