You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "kokila-19 (via GitHub)" <gi...@apache.org> on 2023/01/31 10:51:14 UTC

[GitHub] [hive] kokila-19 opened a new pull request, #4001: HIVE-26793: Create a new configuration to override "no compaction" for tables

kokila-19 opened a new pull request, #4001:
URL: https://github.com/apache/hive/pull/4001

   What changes were proposed in this pull request?
   no_auto_compaction configuration should be allowed to overridden on a database level: adding no_auto_compaction=false should override the table level setting forcing the initiator to schedule compaction for all tables.
   
   Why are the changes needed?
   Currently a simple user can create a table with no_auto_compaction=true 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.
   
   Does this PR introduce any user-facing change?
   No
   
   How was this patch tested?
   Unit tests
   itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestInitiator2.java
   itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactionMetrics2.java


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] saihemanth-cloudera merged pull request #4001: HIVE-26793: Create a new configuration to override "no compaction" for tables

Posted by "saihemanth-cloudera (via GitHub)" <gi...@apache.org>.
saihemanth-cloudera merged PR #4001:
URL: https://github.com/apache/hive/pull/4001


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org