hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Slim Bouguerra (Jira)" <j...@apache.org>
Subject [jira] [Created] (HIVE-23041) LLAP purge command can lead to resource leak
Date Wed, 18 Mar 2020 03:48:00 GMT
Slim Bouguerra created HIVE-23041:
-------------------------------------

             Summary: LLAP purge command can lead to resource leak
                 Key: HIVE-23041
                 URL: https://issues.apache.org/jira/browse/HIVE-23041
             Project: Hive
          Issue Type: Bug
            Reporter: Slim Bouguerra


As per the Java Spec https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html

An unused ExecutorService should be shut down to allow reclamation of its resources.

Code like this is a serious resource leak in case  user fires multiple commands.

https://github.com/apache/hive/blob/7ae6756d40468d18b65423a0b5174b827dc42b60/ql/src/java/org/apache/hadoop/hive/ql/processors/LlapCacheResourceProcessor.java#L132

The other question that this raise is how those tasks responds to interrupt or cancel on the
thread level [~prasanth_j] any idea if one task hangs on IO what happens ?



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

Mime
View raw message