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

Lock acquisition timeout should show what blocked it

    XMLWordPrintableJSON

Details

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

    Description

      For example

      FAILED: Error in acquiring locks: Lock acquisition for LockRequest(component:[LockComponent(type:EXCLUSIVE, level:TABLE, dbname:db_name, tablename:table_name, operationType:NO_TXN)], txnid:0, user:user_name, hostname:myhost.org.com, agentInfo:user_20171218230532_32d0dac8-17d9-4f1c-af90-be7e6f8e0358) timed out after 5502640ms.  LockResponse(lockid:28622126, state:WAITING)
      

      SHOW LOCKS can display what the failed lock was blocked on.
      Should try to include it in the error above since Show Locks info will disappear once the "blocked on" lock is released.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: