[ https://issues.apache.org/jira/browse/HIVE-16588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997490#comment-15997490 ]
slim bouguerra edited comment on HIVE-16588 at 5/4/17 10:04 PM: ---------------------------------------------------------------- cc [~jcamachorodriguez] [~ashutoshc] was (Author: bslim): 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)