[
https://issues.apache.org/jira/browse/HIVE-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-4393:
------------------------------
Attachment: HIVE-4393.D10443.1.patch
Mrrrgn requested code review of "HIVE-4393 [jira] Make the deleteData flag
accessable from DropTable/Partition events".
Reviewers: JIRA
HIVE-4393 made deleteData accessable from (Pre)DropPartitionEvent and
(Pre)DropTableEvent.
On occasion, due to some error during a drop, information is removed from the
metastore but data, which should have been removed, remains intact on the DFS.
In order to log such events via PreEvent and Event listeners a new method
'getDeleteData' should be added to (Pre)DropPartitionEvent and
(Pre)DropTableEvent which returns the deleteData flag's value.
TEST PLAN
Compiled and ran.
REVISION DETAIL
https://reviews.facebook.net/D10443
AFFECTED FILES
metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
metastore/src/java/org/apache/hadoop/hive/metastore/events/DropPartitionEvent.java
metastore/src/java/org/apache/hadoop/hive/metastore/events/DropTableEvent.java
metastore/src/java/org/apache/hadoop/hive/metastore/events/PreDropPartitionEvent.java
metastore/src/java/org/apache/hadoop/hive/metastore/events/PreDropTableEvent.java
MANAGE HERALD RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/24987/
To: JIRA, Mrrrgn
> Make the deleteData flag accessable from DropTable/Partition events
> -------------------------------------------------------------------
>
> Key: HIVE-4393
> URL: https://issues.apache.org/jira/browse/HIVE-4393
> Project: Hive
> Issue Type: Improvement
> Components: Metastore
> Reporter: Morgan Phillips
> Assignee: Morgan Phillips
> Priority: Minor
> Attachments: HIVE-4393.D10443.1.patch
>
>
> On occasion, due to some error during a drop, information is removed from the
> metastore but data, which should have been removed, remains intact on the
> DFS. In order to log such events via PreEvent and Event listeners a new
> method 'getDeleteData' should be added to (Pre)DropPartitionEvent and
> (Pre)DropTableEvent which returns the deleteData flag's value.
--
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