[
https://issues.apache.org/jira/browse/HIVE-24900?focusedWorklogId=568210&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-568210
]
ASF GitHub Bot logged work on HIVE-24900:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Mar/21 09:57
Start Date: 18/Mar/21 09:57
Worklog Time Spent: 10m
Work Description: pvargacl commented on a change in pull request #2086:
URL: https://github.com/apache/hive/pull/2086#discussion_r596707252
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java
##########
@@ -545,6 +556,8 @@ protected Boolean findNextCompactionAndExecute(boolean
computeStats) throws Inte
heartbeater.cancel();
+ failAfterCompactionIfSetForTest();
Review comment:
instead of introducing this test only code here, you could use
Mockito.spy in the test and override verifyTableIdHasNotChanged to always throw
exception, that would have the same effect (probably you need the change the
visibility to protected)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 568210)
Time Spent: 40m (was: 0.5h)
> Failed compaction does not cleanup the directories
> --------------------------------------------------
>
> Key: HIVE-24900
> URL: https://issues.apache.org/jira/browse/HIVE-24900
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Reporter: Ramesh Kumar Thangarajan
> Assignee: Ramesh Kumar Thangarajan
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Failed compaction does not cleanup the directories
--
This message was sent by Atlassian Jira
(v8.3.4#803005)