[
https://issues.apache.org/jira/browse/HIVE-16588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
slim bouguerra updated HIVE-16588:
----------------------------------
Attachment: 16588.patch
> 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
> 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)