You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "KIRTI RUGE (Jira)" <ji...@apache.org> on 2023/03/06 04:20:00 UTC
[jira] [Assigned] (HIVE-24429) Figure out a better way to test failed compactions
[ https://issues.apache.org/jira/browse/HIVE-24429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
KIRTI RUGE reassigned HIVE-24429:
---------------------------------
Assignee: KIRTI RUGE
> Figure out a better way to test failed compactions
> --------------------------------------------------
>
> Key: HIVE-24429
> URL: https://issues.apache.org/jira/browse/HIVE-24429
> Project: Hive
> Issue Type: Improvement
> Reporter: Karen Coppage
> Assignee: KIRTI RUGE
> Priority: Major
>
> This block is executed during compaction:
> {code:java}
> if(conf.getBoolVar(HiveConf.ConfVars.HIVE_IN_TEST) && conf.getBoolVar(HiveConf.ConfVars.HIVETESTMODEFAILCOMPACTION)) {
> throw new RuntimeException(HiveConf.ConfVars.HIVETESTMODEFAILCOMPACTION.name() + "=true");
> }{code}
> We should figure out a better way to test failed compaction than including test code in the source.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)