hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-10241) ACID: drop table doesn't acquire any locks
Date Thu, 09 Apr 2015 17:55:13 GMT

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

Eugene Koifman resolved HIVE-10241.
-----------------------------------
    Resolution: Cannot Reproduce

 I can clearly see the right locks now....

> ACID: drop table doesn't acquire any locks
> ------------------------------------------
>
>                 Key: HIVE-10241
>                 URL: https://issues.apache.org/jira/browse/HIVE-10241
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 1.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>
> with Hive configured to use DbTxnManager, in DbTxnManager.acquireLocks() both plan.getInputs()
and plan.getOutputs() are empty when "drop table foo" is executed and thus no locks are acquired.
 We should be acquiring X locks to make sure any readers of this table don't get data wiped
out while read is in progress.



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

Mime
View raw message