[ https://issues.apache.org/jira/browse/HIVE-25898?focusedWorklogId=721795&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-721795 ]
ASF GitHub Bot logged work on HIVE-25898: ----------------------------------------- Author: ASF GitHub Bot Created on: 07/Feb/22 09:28 Start Date: 07/Feb/22 09:28 Worklog Time Spent: 10m Work Description: veghlaci05 commented on a change in pull request #2981: URL: https://github.com/apache/hive/pull/2981#discussion_r800461666 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java ########## @@ -685,11 +672,16 @@ void open(CompactionInfo ci) throws TException { + "}, status {" + res.getState() + "}, reason {" + res.getErrorMessage() + "}"); } lockId = res.getLockid(); - - heartbeatExecutor = Executors.newSingleThreadScheduledExecutor(); + heartbeatExecutor = Executors.newSingleThreadScheduledExecutor( + CompactorUtil.createThreadFactory( + "CompactionTxn Heartbeater - " + txnId, Thread.MIN_PRIORITY, true)); Review comment: I would keep it as-is, with Denys we think the utility method can be used elsewhere in the future, and the thread naming will also be more explicit this way. -- 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-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 721795) Time Spent: 2h 50m (was: 2h 40m) > Compaction txn heartbeating after Worker timeout > ------------------------------------------------ > > Key: HIVE-25898 > URL: https://issues.apache.org/jira/browse/HIVE-25898 > Project: Hive > Issue Type: Bug > Components: Hive > Reporter: László Végh > Assignee: László Végh > Priority: Major > Labels: pull-request-available > Time Spent: 2h 50m > Remaining Estimate: 0h > > In some cases, when the compaction transaction is aborted, the hearbeater > thread is not shut down and keeps heartbeating. -- This message was sent by Atlassian Jira (v8.20.1#820001)