Details
Description
Hive Cann't drop table in different hdfs clusters
org.apache.hadoop.hive.metastore.HiveMetaStore
in method
checkTrashPurgeCombination()
ShimLoader.getHadoopShims().createHdfsEncryptionShim(FileSystem.get(hiveConf), hiveConf);
should be
ShimLoader.getHadoopShims().createHdfsEncryptionShim(wh.getFs(pathToData), hiveConf);
Because you want to delete the target fs data, not the default fs data