You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by mi...@apache.org on 2025/06/17 22:52:06 UTC
(impala) 01/02: IMPALA-14141: Disable auto compaction of HMS after HIVE-28662
This is an automated email from the ASF dual-hosted git repository.
michaelsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit 41f5480676ac391451425d40db6ba244d97d9378
Author: Fang-Yu Rao <fa...@cloudera.com>
AuthorDate: Thu Jun 12 03:08:27 2025 -0700
IMPALA-14141: Disable auto compaction of HMS after HIVE-28662
This patch disables auto compaction of Hive Metastore, because after
the changes to Hive Metastore configurations in HIVE-28662, Hive could
automatically compact files associated with ACID tables, which makes
some test cases non-deterministic, e.g., those in acid.test.
Change-Id: I5ed35c7f9e6aa277140691f032a8a36eee2f0185
Reviewed-on: http://gerrit.cloudera.org:8080/23020
Reviewed-by: Csaba Ringhofer <cs...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
fe/src/test/resources/hive-site.xml.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/fe/src/test/resources/hive-site.xml.py b/fe/src/test/resources/hive-site.xml.py
index 30c45477e..dfb5d51c3 100644
--- a/fe/src/test/resources/hive-site.xml.py
+++ b/fe/src/test/resources/hive-site.xml.py
@@ -186,7 +186,12 @@ if HIVE_MAJOR_VERSION >= 3:
'hive.parquet.date.proleptic.gregorian': 'true',
'hive.parquet.date.proleptic.gregorian.default': 'true',
'orc.proleptic.gregorian': 'true',
- 'orc.proleptic.gregorian.default': 'true'
+ 'orc.proleptic.gregorian.default': 'true',
+
+ # Disable auto compaction of Hive Metastore after HIVE-28662 to prevent Hive from
+ # automatically compacting files associated with ACID tables, which could make some
+ # test cases non-deterministic, e.g., those in acid.test.
+ 'hive.compactor.initiator.on': 'false'
})
else:
CONFIG.update({