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

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

                Author: ASF GitHub Bot
            Created on: 24/May/22 17:51
            Start Date: 24/May/22 17:51
    Worklog Time Spent: 10m 
      Work Description: ramesh0201 commented on code in PR #3302:
URL: https://github.com/apache/hive/pull/3302#discussion_r880797274


##########
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/fast/VectorMapJoinFastHashTableLoader.java:
##########
@@ -294,7 +295,10 @@ public void load(MapJoinTableContainer[] mapJoinTables,
         LOG.info("Finished loading the queue for input: {} waiting {} minutes 
for TPool shutdown", inputName, 2);
         addQueueDoneSentinel();
         loadExecService.shutdown();
-        loadExecService.awaitTermination(2, TimeUnit.MINUTES);
+
+        if (!loadExecService.awaitTermination(2, TimeUnit.MINUTES)) {
+          throw new HiveException("Failed to complete the hash table loader. 
Loading timed out.");

Review Comment:
   @pvary Can you give pointers on how do I handle this?





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

    Worklog Id:     (was: 774154)
    Time Spent: 1h 40m  (was: 1.5h)

> Shutdown Hash table load executor service threads when they are interrupted
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-26239
>                 URL: https://issues.apache.org/jira/browse/HIVE-26239
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ramesh Kumar Thangarajan
>            Assignee: Ramesh Kumar Thangarajan
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to