hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (Jira)" <>
Subject [jira] [Commented] (HIVE-22850) Optimise lock acquisition in TxnHandler
Date Fri, 14 Feb 2020 23:26:00 GMT


Hive QA commented on HIVE-22850:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 17993 tests passed

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase

This message is automatically generated.

ATTACHMENT ID: 12993445 - PreCommit-HIVE-Build

> Optimise lock acquisition in TxnHandler
> ---------------------------------------
>                 Key: HIVE-22850
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>            Reporter: Rajesh Balamohan
>            Priority: Major
>         Attachments: HIVE-22850.1.patch, HIVE-22850.2.patch, HIVE-22850.3.patch, HIVE-22850.4.patch,
HIVE-22850.6.patch, Screenshot 2020-02-07 at 4.14.51 AM.jpg, jumpTableInfo.png
> With concurrent queries, time taken for lock acquisition increases substantially. As
part of lock acquisition in the query, {{TxnHandler::checkLock}} gets invoked. This involves
getting a mutex and compare the locks being requested for, with that of existing locks in
{{HIVE_LOCKS}} table.
> With concurrent queries, time taken to do this check increase and this significantly
increases the time taken for getting mutex for other threads (due to select for update). In
a synthetic workload, it was in the order of 10+ seconds. This codepath can be optimized when
all lock requests are SHARED_READ.
> !Screenshot 2020-02-07 at 4.14.51 AM.jpg|width=743,height=348!

This message was sent by Atlassian Jira

View raw message