[ 
https://issues.apache.org/jira/browse/HIVE-27020?focusedWorklogId=854168&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-854168
 ]

ASF GitHub Bot logged work on HIVE-27020:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Mar/23 12:29
            Start Date: 31/Mar/23 12:29
    Worklog Time Spent: 10m 
      Work Description: SourabhBadhya commented on code in PR #4091:
URL: https://github.com/apache/hive/pull/4091#discussion_r1154416968


##########
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCompactor.java:
##########
@@ -1064,7 +1068,80 @@ public void testCleanAbortCompactAfterAbort() throws 
Exception {
     connection2.close();
   }
 
+  @Test
+  public void testAbortAfterMarkCleaned() throws Exception {
+    boolean useCleanerForAbortCleanup = MetastoreConf.getBoolVar(conf, 
MetastoreConf.ConfVars.COMPACTOR_CLEAN_ABORTS_USING_CLEANER);

Review Comment:
   Nice approach. Implemented it. Done.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 854168)
    Time Spent: 4h 20m  (was: 4h 10m)

> Implement a separate handler to handle aborted transaction cleanup
> ------------------------------------------------------------------
>
>                 Key: HIVE-27020
>                 URL: https://issues.apache.org/jira/browse/HIVE-27020
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Sourabh Badhya
>            Assignee: Sourabh Badhya
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> As described in the parent task, once the cleaner is separated into different 
> entities, implement a separate handler which can create requests for aborted 
> transactions cleanup. This would move the aborted transaction cleanup 
> exclusively to the cleaner.



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

Reply via email to