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/10/01 22:50:27 UTC

[jira] [Commented] (HIVE-12009) Add IMetastoreClient.heartbeat(long[] lockIds)

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

Eugene Koifman commented on HIVE-12009:
---------------------------------------

actually this should not be necessary.  the only time you can have > 1 'ext' lock is when there is a transaction open, thus it's better to heartbeat the txn

> Add IMetastoreClient.heartbeat(long[] lockIds)
> ----------------------------------------------
>
>                 Key: HIVE-12009
>                 URL: https://issues.apache.org/jira/browse/HIVE-12009
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>
> Current API only allows heart beating 1 lock ID (external ID) at a time.
> For multi statement txns we can have multiple locks per txn and should be able to do it in 1 cal.
> Used from DbTxnManager.heartbeat()



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