hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11914) When transactions gets a heartbeat, it doesn't update the lock heartbeat.
Date Tue, 06 Oct 2015 22:19:26 GMT

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

Alan Gates commented on HIVE-11914:
-----------------------------------

Looks ok, but why is the unit test in TestStreaming?  It seems like it belongs in TestTxnHandler.

> When transactions gets a heartbeat, it doesn't update the lock heartbeat.
> -------------------------------------------------------------------------
>
>                 Key: HIVE-11914
>                 URL: https://issues.apache.org/jira/browse/HIVE-11914
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog, Transactions
>    Affects Versions: 1.0.1
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-11914.2.patch, HIVE-11914.patch
>
>
> TxnHandler.heartbeatTxn() updates the timestamp on the txn but not on the associated
locks.  This makes SHOW LOCKS confusing/misleading.
> This is especially visible in Streaming API use cases which use
> TxnHandler.heartbeatTxnRange(HeartbeatTxnRangeRequest rqst) 



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

Mime
View raw message