slim bouguerra created HIVE-16588:
-------------------------------------

             Summary: 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
             Fix For: 3.0.0


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)

Reply via email to