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

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

                Author: ASF GitHub Bot
            Created on: 28/Apr/21 05:52
            Start Date: 28/Apr/21 05:52
    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:
       Dont think we need to - 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: 590159)
    Time Spent: 50m  (was: 40m)

> 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: 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to