hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-11965) add heartbeat count for each lock/transaction
Date Fri, 25 Sep 2015 17:59:04 GMT
Eugene Koifman created HIVE-11965:
-------------------------------------

             Summary: add heartbeat count for each lock/transaction
                 Key: HIVE-11965
                 URL: https://issues.apache.org/jira/browse/HIVE-11965
             Project: Hive
          Issue Type: Bug
          Components: Transactions
    Affects Versions: 0.14.0
            Reporter: Eugene Koifman
            Assignee: Eugene Koifman


We should add a HEARTBEAT_COUNT column to HIVE_LOCKS and TXNS tables so that queries that
update LAST_HEARTBEAT also set HEARTBEAT_COUNT=HEARTBEAT_COUNT + 1.

This should only be set on explicit heartbeat call, not ones resulting from commits, etc.

This has low overhead but allows us to detect clients that heartbeat more often than is necessary
thus creating useless extra load on metastore.  





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

Mime
View raw message