Skip to content

HIVE-29520: Add configuration to enable/disable ACID functionality in Hive Metastore#6524

Open
VenuReddy2103 wants to merge 1 commit into
apache:masterfrom
VenuReddy2103:HIVE-29520
Open

HIVE-29520: Add configuration to enable/disable ACID functionality in Hive Metastore#6524
VenuReddy2103 wants to merge 1 commit into
apache:masterfrom
VenuReddy2103:HIVE-29520

Conversation

@VenuReddy2103
Copy link
Copy Markdown
Contributor

@VenuReddy2103 VenuReddy2103 commented Jun 3, 2026

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:
Unnecessary resource consumption (CPU, memory, threads)
Increased operational overhead
Additional complexity in debugging and monitoring
Longer startup times and maintenance burden
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

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 5, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants