[ https://issues.apache.org/jira/browse/HIVE-2420?focusedWorklogId=590158&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-590158 ]
ASF GitHub Bot logged work on HIVE-2420: ---------------------------------------- Author: ASF GitHub Bot Created on: 28/Apr/21 05:51 Start Date: 28/Apr/21 05:51 Worklog Time Spent: 10m Work Description: Dawn2111 commented on a change in pull request #2065: URL: https://github.com/apache/hive/pull/2065#discussion_r621834393 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/KillMoveTriggerActionHandler.java ########## @@ -47,8 +47,10 @@ public void applyAction(final Map<WmTezSession, Trigger> queriesViolated) { break; case MOVE_TO_POOL: String destPoolName = entry.getValue().getAction().getPoolName(); - Future<Boolean> moveFuture = wm.applyMoveSessionAsync(wmTezSession, destPoolName); - moveFutures.put(wmTezSession, moveFuture); + if (!wmTezSession.isDelayedMove()) { + Future<Boolean> moveFuture = wm.applyMoveSessionAsync(wmTezSession, destPoolName); Review comment: I dont think we need to because any query being completed/killed in the destination pool will create a return/kill event. This in turn will wake up the master thread which will retry the delayed move in the same iteration of the master thread loop. So the existing delayed moves will be processed earlier than any subsequent move events. -- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 590158) Time Spent: 40m (was: 0.5h) > partition pruner expr is not populated due to some bug in ppd > ------------------------------------------------------------- > > Key: HIVE-2420 > URL: https://issues.apache.org/jira/browse/HIVE-2420 > Project: Hive > Issue Type: Bug > Reporter: He Yongqiang > Assignee: He Yongqiang > Priority: Major > Labels: pull-request-available > Attachments: HIVE-2420.reproduce.diff > > Time Spent: 40m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)