You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Rajesh Balamohan (Jira)" <ji...@apache.org> on 2022/03/06 22:23:00 UTC

[jira] [Resolved] (HIVE-25971) Tez task shutdown getting delayed due to cached thread pool not closed

     [ https://issues.apache.org/jira/browse/HIVE-25971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajesh Balamohan resolved HIVE-25971.
-------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Merged to master. Thanks [~guptashailesh92] .

> Tez task shutdown getting delayed due to cached thread pool not closed
> ----------------------------------------------------------------------
>
>                 Key: HIVE-25971
>                 URL: https://issues.apache.org/jira/browse/HIVE-25971
>             Project: Hive
>          Issue Type: Improvement
>          Components: Tez
>    Affects Versions: 2.4.0, 3.1.2
>            Reporter: Shailesh Gupta
>            Assignee: Shailesh Gupta
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> We are using a[CachedThreadPool|https://github.com/apache/hive/blob/branch-2.3/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/ObjectCache.java] but not closing it. CachedThreadPool creates non daemon threads, causing the Tez Task JVM shutdown delayed upto 1 min, as default idle timeout is 1 min.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)