You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zac Zhou (JIRA)" <ji...@apache.org> on 2017/09/23 04:08:00 UTC

[jira] [Commented] (HIVE-10970) Investigate HIVE-10453: HS2 leaking open file descriptors when using UDFs

    [ https://issues.apache.org/jira/browse/HIVE-10970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16177480#comment-16177480 ] 

Zac Zhou commented on HIVE-10970:
---------------------------------

When a thread of sessionstate was later used for handling some other session, the parentLoader was the classloader of previous session. While the conf.getClassLoader came from the classloader when hiveserver2 is initialized. The parentLoader is not the parent of the current thread class loader. So the class loader can't not be closed in the close() method. We can fixed it by reusing the parentLoader when close() method is called to make sure parentLoader correct across different sessions.

> Investigate HIVE-10453: HS2 leaking open file descriptors when using UDFs
> -------------------------------------------------------------------------
>
>                 Key: HIVE-10970
>                 URL: https://issues.apache.org/jira/browse/HIVE-10970
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)