Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-16588

Resource leak by druid http client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Druid integration

    Description

      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.

      Attachments

        1. 16588.1.patch
          20 kB
          Slim Bouguerra
        2. 16588.patch
          20 kB
          Slim Bouguerra

        Activity

          People

            bslim Slim Bouguerra
            bslim Slim Bouguerra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: