Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.14.0
-
None
-
None
Description
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.
Attachments
Issue Links
- depends upon
-
HIVE-12832 RDBMS schema changes for HIVE-11388
- Closed