[
https://issues.apache.org/jira/browse/HIVE-27117?focusedWorklogId=849754&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-849754
]
ASF GitHub Bot logged work on HIVE-27117:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Mar/23 08:14
Start Date: 08/Mar/23 08:14
Worklog Time Spent: 10m
Work Description: abstractdog commented on code in PR #4096:
URL: https://github.com/apache/hive/pull/4096#discussion_r1129093478
##########
ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommands2.java:
##########
@@ -1434,6 +1434,8 @@ public void
testTruncatePartitionAndCompactionConcurrent() throws Exception {
execDDLOpAndCompactionConcurrently("TRUNCATE_PARTITION", true);
}
private void execDDLOpAndCompactionConcurrently(String opType, boolean
isPartioned) throws Exception {
+ hiveConf.setBoolVar(HiveConf.ConfVars.HIVE_COMPACTOR_GATHER_STATS, false);
Review Comment:
please comment on why is this needed and then it can be merged +1
Issue Time Tracking
-------------------
Worklog Id: (was: 849754)
Time Spent: 2.5h (was: 2h 20m)
> Fix compaction related flaky tests
> ----------------------------------
>
> Key: HIVE-27117
> URL: https://issues.apache.org/jira/browse/HIVE-27117
> Project: Hive
> Issue Type: Task
> Reporter: László Végh
> Assignee: László Végh
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> The following tests turned out to be flaky recently:
> *
> org.apache.hadoop.hive.ql.TestTxnCommands2WithSplitUpdateAndVectorization.testDropTableAndCompactionConcurrent
> *
> org.apache.hadoop.hive.ql.txn.compactor.TestCompactionMetrics.testInitiatorFailuresCountedCorrectly
> *
> org.apache.hadoop.hive.ql.txn.compactor.TestCrudCompactorOnTez.testMajorCompactionNotPartitionedWithoutBuckets
> *
> org.apache.hadoop.hive.ql.txn.compactor.TestCrudCompactorOnTez.testCompactionWithCreateTableProps
--
This message was sent by Atlassian Jira
(v8.20.10#820010)