[
https://issues.apache.org/jira/browse/HIVE-26716?focusedWorklogId=828929&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-828929
]
ASF GitHub Bot logged work on HIVE-26716:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Nov/22 12:43
Start Date: 25/Nov/22 12:43
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on code in PR #3746:
URL: https://github.com/apache/hive/pull/3746#discussion_r1032420202
##########
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/MRCompactor.java:
##########
@@ -115,8 +117,30 @@ public class CompactorMR {
static final private String COMPACTOR_PREFIX = "compactor.";
private JobConf mrJob; // the MR job for compaction
+ private IMetaStoreClient msc;
+ public MRCompactor(IMetaStoreClient msc) {
+ this.msc = msc;
+ }
- public CompactorMR() {
+ @Override
+ void runCompaction(HiveConf conf, Table table, Partition partition,
StorageDescriptor sd,
+ ValidWriteIdList writeIds, CompactionInfo ci,
AcidDirectory dir)
+ throws IOException, HiveException, InterruptedException {
+ if (ci.runAs.equals(System.getProperty("user.name"))) {
+ run(conf, table, sd, writeIds, ci, msc, dir);
Review Comment:
we can remove 'msc' as it's an instance variable now
Issue Time Tracking
-------------------
Worklog Id: (was: 828929)
Time Spent: 8.5h (was: 8h 20m)
> Query based Rebalance compaction on full acid tables
> ----------------------------------------------------
>
> Key: HIVE-26716
> URL: https://issues.apache.org/jira/browse/HIVE-26716
> Project: Hive
> Issue Type: Sub-task
> Components: Hive
> Reporter: László Végh
> Assignee: László Végh
> Priority: Major
> Labels: ACID, compaction, pull-request-available
> Time Spent: 8.5h
> Remaining Estimate: 0h
>
> Support rebalancing compaction on fully ACID tables.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)