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

Mustafa Iman commented on HIVE-23780:
-------------------------------------

[~ngangam] I had initially considered doing what you said. It was harder to do 
it that way because ObjectStore used JDO and this cleanup happens using raw 
sql. I could not find a way for them to share the same transaction. Then, Peter 
said we should do this using transactionalListener anyway for the reasons he 
explained above.

> Fail dropTable if acid cleanup fails
> ------------------------------------
>
>                 Key: HIVE-23780
>                 URL: https://issues.apache.org/jira/browse/HIVE-23780
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Standalone Metastore, Transactions
>            Reporter: Mustafa Iman
>            Assignee: Mustafa Iman
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Acid cleanup happens after dropTable is committed. If cleanup fails for some 
> reason, there are leftover entries in acid tables. This later causes dropped 
> table's name to be unusable by new tables.
> [~pvary] [~ngangam]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to