Deng ZiWu created HIVE-21904:
--------------------------------
Summary: https://issues.apache.org/jira/browse/HIVE-21873?filter=-2
Key: HIVE-21904
URL: https://issues.apache.org/jira/browse/HIVE-21904
Project: Hive
Issue Type: Bug
Components: Metastore
Affects Versions: 2.3.5, 2.3.4, 2.3.2, 2.3.1, 2.3.0, 2.3.3
Reporter: Deng ZiWu
Attachments: HIVE-21873.branch-2.patch
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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)