[
https://issues.apache.org/jira/browse/HIVE-21873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deng ZiWu updated HIVE-21873:
-----------------------------
Release Note: change drop function from default fs to real fs
Attachment: fix_drop_table_in_multiclusters_bug.patch
Status: Patch Available (was: Open)
> Hive Cann't drop table in different hdfs clusters
> -------------------------------------------------
>
> Key: HIVE-21873
> URL: https://issues.apache.org/jira/browse/HIVE-21873
> 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
> Priority: Major
> Fix For: 2.3.3
>
> Attachments: fix_drop_table_in_multiclusters_bug.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)