You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2016/08/08 13:46:20 UTC

[jira] [Updated] (HIVE-14457) Partitions in encryption zone are still trashed though an exception is returned

     [ 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)