You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2017/12/22 19:14:00 UTC

[jira] [Created] (HIVE-18332) Lock acquisition timeout should show what blocked it

Eugene Koifman created HIVE-18332:
-------------------------------------

             Summary: Lock acquisition timeout should show what blocked it
                 Key: HIVE-18332
                 URL: https://issues.apache.org/jira/browse/HIVE-18332
             Project: Hive
          Issue Type: Improvement
          Components: Transactions
    Affects Versions: 1.0.0
            Reporter: Eugene Koifman


For example
{noformat}
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)
{noformat}

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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)