[
https://issues.apache.org/jira/browse/HIVE-21873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deng ZiWu resolved HIVE-21873.
------------------------------
Resolution: Won't Fix
> 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.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5
> Reporter: Deng ZiWu
> Priority: Major
> Fix For: 2.3.3
>
> 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)