You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2015/11/26 19:27:11 UTC

[jira] [Updated] (HIVE-12529) HiveTxnManager.acquireLocks() should not block forever

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

Eugene Koifman updated HIVE-12529:
----------------------------------
    Attachment: HIVE-12529.patch

> HiveTxnManager.acquireLocks() should not block forever
> ------------------------------------------------------
>
>                 Key: HIVE-12529
>                 URL: https://issues.apache.org/jira/browse/HIVE-12529
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 1.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-12529.patch
>
>
> Currently, in DbTxnManager this method will block until all competing locks have gone away.
> This is not appropriate for all clients.  There should be a way to specify a max-wait-time.
> It will throw an exception on timeout (given how current method signature is written).



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