[
https://issues.apache.org/jira/browse/HIVE-25011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321292#comment-17321292
]
Gopal Vijayaraghavan commented on HIVE-25011:
---------------------------------------------
I tried making a simple test yesterday, but since I leave the locks in the
query-plan, but only skip it in the Driver codepath, this is a bit odd.
{code}
txnMgr.acquireLocks(driver.getPlan(), ctx, ...);
{code}
That will grab locks, because the locks are in the plan - but they were not
acquired during exec.
> Concurrency: Do not acquire locks for EXPLAIN
> ---------------------------------------------
>
> Key: HIVE-25011
> URL: https://issues.apache.org/jira/browse/HIVE-25011
> Project: Hive
> Issue Type: Improvement
> Components: Locking, Transactions
> Affects Versions: 4.0.0
> Reporter: Gopal Vijayaraghavan
> Assignee: Gopal Vijayaraghavan
> Priority: Major
> Attachments: HIVE-25011.1.patch, HIVE-25011.2.patch
>
>
> {code}
> EXPLAIN UPDATE ...
> {code}
> should not be in conflict with another active ongoing UPDATE operation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)