[ https://issues.apache.org/jira/browse/YARN-8336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484323#comment-16484323 ]
Giovanni Matteo Fumarola commented on YARN-8336: ------------------------------------------------ I will fix findbugs warnings in the next patch. To avoid possible connection leaks the code should destroy ( com.sun.jersey.api.client.Client has no close function). In the current code base, we have classes as TestTimelineReaderWebServices and*TestTimelineReaderWebServicesHBaseStorage* that use the function destroy correctly. e.g. YARN-3814 (commit). [~varun_saxena] can you please help the review of this Jira and YARN-8334? > Fix potential connection leak in SchedConfCLI and YarnWebServiceUtils > --------------------------------------------------------------------- > > Key: YARN-8336 > URL: https://issues.apache.org/jira/browse/YARN-8336 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Giovanni Matteo Fumarola > Assignee: Giovanni Matteo Fumarola > Priority: Major > Attachments: YARN-8336.v1.patch > > > Missing ClientResponse.close and Client.destroy can lead to a connection leak. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org