You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/04/26 20:28:00 UTC

[jira] [Work logged] (HIVE-2420) partition pruner expr is not populated due to some bug in ppd

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

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

                Author: ASF GitHub Bot
            Created on: 26/Apr/21 20:27
            Start Date: 26/Apr/21 20:27
    Worklog Time Spent: 10m 
      Work Description: Dawn2111 commented on a change in pull request #2065:
URL: https://github.com/apache/hive/pull/2065#discussion_r620624406



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/WorkloadManager.java
##########
@@ -1248,6 +1334,42 @@ private void processPoolChangesOnMasterThread(
     }
   }
 
+  private void processDelayedMovesForPool(final String poolName, final HashSet<String> poolsToRedistribute, final Map<WmTezSession, WmEvent> recordMoveEvents,
+      WmThreadSyncWork syncWork, IdentityHashMap<WmTezSession, GetRequest> toReuse) {
+    long currentTime = System.currentTimeMillis();
+    PoolState pool = pools.get(poolName);
+    int movedCount = 0;
+    int queueSize = pool.queue.size();
+    int remainingCapacity = pool.queryParallelism - pool.getTotalActiveSessions();

Review comment:
       Yes. A new request will wake up the master thread.




-- 
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:
users@infra.apache.org


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

            Worklog Id:     (was: 589433)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>         Attachments: HIVE-2420.reproduce.diff
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>




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