[
https://issues.apache.org/jira/browse/HIVE-14457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chaoyu Tang updated HIVE-14457:
-------------------------------
Attachment: HIVE-14457.patch
checkTrashPurgeCombination should be done before
ms.dropPartition/commitTransaction(), otherwise, even if
checkTrashPurgeCombination fails and throws out Exception, the partitions are
still got deleted in the finally block.
> Partitions in encryption zone are still trashed though an exception is
> returned
> -------------------------------------------------------------------------------
>
> Key: HIVE-14457
> URL: https://issues.apache.org/jira/browse/HIVE-14457
> Project: Hive
> Issue Type: Bug
> Components: Encryption, Metastore
> Reporter: Chaoyu Tang
> Assignee: Chaoyu Tang
> Attachments: HIVE-14457.patch
>
>
> drop_partition_common in HiveMetaStore still drops partitions in encryption
> zone without PURGE even through it returns an exception.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)