Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4992

RestClient resource leak in Elasticsearch adapter

    XMLWordPrintableJSON

Details

    Description

      RestClient instances should receive a `close()`call at the end of their lifecyle, as documented here.

      https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-low-usage-initialization.html

      We have monitored file descriptor leaks on systems running Apache Drill and have come to believe (but not proven) that they are associated with Drill's ElasticSearch plugin, and that in turn makes use of Calcite's ElasticSearch adapter.

      Attachments

        Issue Links

          Activity

            People

              dzamo James Turton
              dzamo James Turton
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 20m
                  5h 20m