[
https://issues.apache.org/jira/browse/HIVE-25801?focusedWorklogId=697334&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-697334
]
ASF GitHub Bot logged work on HIVE-25801:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Dec/21 16:31
Start Date: 16/Dec/21 16:31
Worklog Time Spent: 10m
Work Description: deniskuzZ commented on a change in pull request #2879:
URL: https://github.com/apache/hive/pull/2879#discussion_r770713726
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/QueryCompactor.java
##########
@@ -137,6 +140,10 @@ void runCompactionQueries(HiveConf conf, String
tmpTableName, StorageDescriptor
DriverUtils.runOnDriver(conf, user, sessionState, query, writeIds,
compactorTxnId);
}
commitCompaction(storageDescriptor.getLocation(), tmpTableName, conf,
writeIds, compactorTxnId);
+
+ if (su != null) {
Review comment:
why not call it from Worker, on compaction txn commit?
````
msc.commitTxn(txnId);
status = TxnStatus.COMMITTED;
su.gatherStats()
````
--
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: 697334)
Time Spent: 0.5h (was: 20m)
> Custom queue settings is not honoured by Query based compaction StatsUpdater
> ----------------------------------------------------------------------------
>
> Key: HIVE-25801
> URL: https://issues.apache.org/jira/browse/HIVE-25801
> Project: Hive
> Issue Type: Bug
> Reporter: László Végh
> Assignee: László Végh
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{hive.compactor.job.queue}} config limits resources available for
> compaction, so users can limit the effects of compaction on the cluster.
> However this settings does not affect stats collection which uses Driver.
> HIVE-25595 is addressing the above issue for MR-based compaction. We need to
> incorporate the same thing for the Query-based compaction.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)