You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kokila N (Jira)" <ji...@apache.org> on 2022/11/30 09:09:00 UTC

[jira] [Created] (HIVE-26793) Create a new configuration to override "no compaction" for tables

Kokila N created HIVE-26793:
-------------------------------

             Summary: Create a new configuration to override "no compaction" for tables
                 Key: HIVE-26793
                 URL: https://issues.apache.org/jira/browse/HIVE-26793
             Project: Hive
          Issue Type: Improvement
            Reporter: Kokila N
            Assignee: Kokila N


Currently a simple user can create a table with {color:#6a8759}no_auto_compaction=true{color} table property and create an aborted write transaction writing to this table. This way a malicious user can prevent cleaning up data for the aborted transaction, creating performance degradation.

This configuration should be allowed to overridden on a database level: adding {color:#6a8759}no_auto_compaction=false{color} should override the table level setting forcing the initiator to schedule compaction for all tables.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)