You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "James Turton (Jira)" <ji...@apache.org> on 2022/10/17 14:44:00 UTC

[jira] [Closed] (DRILL-8333) Resource leak when JsonLoader is built from a stream

     [ https://issues.apache.org/jira/browse/DRILL-8333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Turton closed DRILL-8333.
-------------------------------
    Resolution: Fixed

> Resource leak when JsonLoader is built from a stream
> ----------------------------------------------------
>
>                 Key: DRILL-8333
>                 URL: https://issues.apache.org/jira/browse/DRILL-8333
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - HTTP
>    Affects Versions: 1.20.2
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Major
>             Fix For: 1.20.3
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)