Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11965

add heartbeat count for each lock/transaction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.14.0
    • None
    • Transactions
    • 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

          Activity

            People

              Unassigned Unassigned
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: