[ 
https://issues.apache.org/jira/browse/HIVE-10632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057188#comment-15057188
 ] 

Eugene Koifman commented on HIVE-10632:
---------------------------------------

The right way to do this is to add a MetaStoreListener to clean up Acid related 
metastore tables on dropTable/Partition.

> Make sure TXN_COMPONENTS gets cleaned up if table is dropped before 
> compaction.
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-10632
>                 URL: https://issues.apache.org/jira/browse/HIVE-10632
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Transactions
>    Affects Versions: 1.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>            Priority: Critical
>
> The compaction process will clean up entries in  TXNS, 
> COMPLETED_TXN_COMPONENTS, TXN_COMPONENTS.  If the table/partition is dropped 
> before compaction is complete there will be data left in these tables.  Need 
> to investigate if there are other situations where this may happen and 
> address it.
> see HIVE-10595 for additional info



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to