[WIP]HIVE-29520: Add configuration to enable/disable ACID functionality in Hive Metastore#6416
Open
VenuReddy2103 wants to merge 1 commit intoapache:masterfrom
Open
[WIP]HIVE-29520: Add configuration to enable/disable ACID functionality in Hive Metastore#6416VenuReddy2103 wants to merge 1 commit intoapache:masterfrom
VenuReddy2103 wants to merge 1 commit intoapache:masterfrom
Conversation
Member
|
why do we need new toggle for that? |
deniskuzZ
reviewed
Apr 8, 2026
| taskNames.removeAll(ImmutableSet.of(MetastoreConf.ACID_OPEN_TXNS_COUNTER_SERVICE_CLASS, | ||
| MetastoreConf.ACID_HOUSEKEEPER_SERVICE_CLASS, | ||
| MetastoreConf.ACID_TXN_CLEANER_SERVICE_CLASS, | ||
| MetastoreConf.MATERIALZIATIONS_REBUILD_LOCK_CLEANER_TASK_CLASS)); |
Member
There was a problem hiding this comment.
Hive provides support for iceberg tables materialized views
Contributor
Author
|
09ebdbd to
25bd551
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What changes were proposed in this pull request?
Introduce a configuration to enable/disable ACID functionality in Hive Metastore
Why are the changes needed?
With the increasing adoption of the Apache Iceberg table format, many deployments no longer rely on ACID (transactional) tables provided by Apache Hive. In such environments, ACID-related functionality in the Hive Metastore becomes unnecessary.
Currently, Hive Metastore initializes and runs several background threads and services that are specifically designed to support ACID operations (e.g., compaction handling, transaction management, cleanup tasks). These components continue to run regardless of whether ACID tables are actually used in the deployment.
Running ACID-related services in environments that do not use ACID tables leads to:
Providing a mechanism to disable ACID functionality would streamline such deployments and improve efficiency.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Added unittests