[
https://issues.apache.org/jira/browse/HIVE-25393?focusedWorklogId=628347&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-628347
]
ASF GitHub Bot logged work on HIVE-25393:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Jul/21 10:38
Start Date: 27/Jul/21 10:38
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on a change in pull request #2503:
URL: https://github.com/apache/hive/pull/2503#discussion_r677327987
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java
##########
@@ -716,6 +757,13 @@ void open(CompactionInfo ci) throws TException {
}
this.txnId = msc.openTxn(ci.runAs, TxnType.COMPACTION);
status = TxnStatus.OPEN;
+
+ LockRequest lockRequest = createLockRequest(ci, txnId);
+ LockResponse res = msc.lock(lockRequest);
Review comment:
automatically on commit/abort
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 628347)
Remaining Estimate: 0h
Time Spent: 10m
> Prevent concurrent compaction and DDL operations
> ------------------------------------------------
>
> Key: HIVE-25393
> URL: https://issues.apache.org/jira/browse/HIVE-25393
> Project: Hive
> Issue Type: Task
> Reporter: Denys Kuzmenko
> Assignee: Denys Kuzmenko
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Introduce read locks in compaction (MR, Minor Query-based) that would prevent
> concurrency issues with DDL operations (DROP/RENAME table).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)