hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "slim bouguerra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16588) Ressource leak by druid http client
Date Thu, 04 May 2017 21:48:04 GMT

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

slim bouguerra commented on HIVE-16588:
---------------------------------------

cc [~jcamachorodriguez]

> Ressource leak by druid http client
> -----------------------------------
>
>                 Key: HIVE-16588
>                 URL: https://issues.apache.org/jira/browse/HIVE-16588
>             Project: Hive
>          Issue Type: Bug
>          Components: Druid integration
>            Reporter: slim bouguerra
>            Assignee: Nishant Bangarwa
>              Labels: druid
>             Fix For: 3.0.0
>
>         Attachments: 16588.patch
>
>
> Current implementation of druid storage handler does leak some resources if the creation
of the http client fails due to too many files exception.
> The reason this is leaking is the fact the cleaning hook is registered after the client
starts.
> In order to fix this will extract the creation of the HTTP client to become static and
reusable instead of per query creation.
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message