[ 
https://issues.apache.org/jira/browse/HIVE-3646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Chalfant updated HIVE-3646:
----------------------------------

    Release Note: This is a feature which enables us to ignore protection for 
partitions when dropping them, if specified. The use case is moving partitions 
between clusters. Unprotecting and reprotecting tables is non-atomic and thus 
prone to leaving table metadata in a dirty state.
          Status: Patch Available  (was: Open)

https://reviews.facebook.net/D6405
                
> Add 'IGNORE PROTECTION' predicate for dropping partitions
> ---------------------------------------------------------
>
>                 Key: HIVE-3646
>                 URL: https://issues.apache.org/jira/browse/HIVE-3646
>             Project: Hive
>          Issue Type: New Feature
>          Components: CLI
>    Affects Versions: 0.9.0
>            Reporter: Andrew Chalfant
>            Assignee: Andrew Chalfant
>            Priority: Minor
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> There are cases where it is desirable to move partitions between clusters. 
> Having to undo protection and then re-protect tables in order to delete 
> partitions from a source are multi-step and can leave us in a failed open 
> state where partition and table metadata is dirty. By implementing an 'rm 
> -rf'-like functionality, we can perform these operations atomically.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to