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

ErrorMsg. LOCK_ACQUIRE_TIMEDOUT should include info about lock that caused the timeut

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • Transactions
    • None

    Description

      When lock acquisition times out, it would be useful to include info in the message about the lock that caused the current request to block.
      It will help identify runaway processes, etc.

      This would require a Thrift change to pass that info up to the client which determines when to give up waiting.

      Implementation:

      In case WAIT: in TxnHandler.checkLock(Connection dbConn, long extLockId) add to org.apache.hadoop.hive.metastore.api.LockResponse info from

      locks[i]

      which already has the ids and human readable info about conflicting lock.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: