[
https://issues.apache.org/jira/browse/DRILL-8295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17601636#comment-17601636
]
ASF GitHub Bot commented on DRILL-8295:
---------------------------------------
jnturton commented on code in PR #2641:
URL: https://github.com/apache/drill/pull/2641#discussion_r965517773
##########
contrib/storage-http/src/main/java/org/apache/drill/exec/store/http/udfs/HttpHelperFunctions.java:
##########
@@ -189,6 +191,8 @@ public void eval() {
rowWriter.start();
if (jsonLoader.parser().next()) {
rowWriter.save();
+ } else {
Review Comment:
I fed the http_get function a string containing 50 million little JSON
objects from sequence {"foo": 1} {"foo": 2} {"foo": 3}... and it got through it
(took about 45s). I just don't know if that answers the right question.
> Probable resource leak in the HTTP storage plugin
> -------------------------------------------------
>
> Key: DRILL-8295
> URL: https://issues.apache.org/jira/browse/DRILL-8295
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - HTTP
> Affects Versions: 1.20.2
> Reporter: James Turton
> Assignee: James Turton
> Priority: Major
> Fix For: 1.20.3
>
>
> It looks to me like SimpleHttp does not always close objects created using
> OkHttp, e.g. line 378.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)