[
https://issues.apache.org/jira/browse/HIVE-24429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17238778#comment-17238778
]
Karen Coppage commented on HIVE-24429:
--------------------------------------
Requested by [~pvary] at https://github.com/apache/hive/pull/1693
> 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
> 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.3.4#803005)