You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2015/04/27 20:49:40 UTC

[jira] [Updated] (HIVE-10500) Repeated deadlocks in underlying RDBMS cause transaction or lock failure

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

Alan Gates updated HIVE-10500:
------------------------------
    Attachment: HIVE-10050.patch

This patch makes a couple of changes:
# It adds resets of deadlock count when a transaction is opened or a lock is requested.  This wasn't done before which means we may have been building up deadlock counts over several different users.
# It adds a short sleep when a deadlock is detected so that we don't jump right back into the deadlock.

> Repeated deadlocks in underlying RDBMS cause transaction or lock failure
> ------------------------------------------------------------------------
>
>                 Key: HIVE-10500
>                 URL: https://issues.apache.org/jira/browse/HIVE-10500
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 0.14.0, 1.0.0, 1.1.0
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: HIVE-10050.patch
>
>
> In some cases in a busy system, deadlocks in the metastore RDBMS can cause failures in Hive locks and transactions when using DbTxnManager



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