Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-8333

Resource leak when JsonLoader is built from a stream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.20.2
    • 1.20.3
    • Storage - HTTP
    • None

    Description

      The JsonLoader can be built to parse from a stream, as it is by the HTTP storage plugin. Given the lifecycles of the objects involved, it is the loader that should be responsible for closing any streams passed to it once JSON parsing is complete and the loader itself is closed.

      Attachments

        Issue Links

          Activity

            People

              cgivre Charles Givre
              cgivre Charles Givre
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: