[ 
https://issues.apache.org/jira/browse/IMPALA-14363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017791#comment-18017791
 ] 

ASF subversion and git services commented on IMPALA-14363:
----------------------------------------------------------

Commit ed0dfc665ee5f988561a77ee17cf1b7a607c9cf9 in impala's branch 
refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=ed0dfc665 ]

IMPALA-14363: Always close WebClient

Make WebClient autocloseable and always close it, either in test cleanup
or using the Java try-with-resources statement.

Change-Id: Ib6e03558ce31ee527e87bf6632d39d1d94076472
Reviewed-on: http://gerrit.cloudera.org:8080/23355
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Michael Smith <[email protected]>


> WebClient#Close not always called in tests
> ------------------------------------------
>
>                 Key: IMPALA-14363
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14363
>             Project: IMPALA
>          Issue Type: Task
>          Components: Test
>    Affects Versions: Impala 4.5.0
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Minor
>
> In Impala's customcluster frontend tests, WebClient#Close is not always 
> closed to clean up the CloseableHttpClient it creates. This may lead to 
> memory leaks in long-running test runs.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to