You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Minni Mittal (Jira)" <ji...@apache.org> on 2020/02/13 09:31:00 UTC

[jira] [Comment Edited] (YARN-8529) Add timeout to RouterWebServiceUtil#invokeRMWebService

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

Minni Mittal edited comment on YARN-8529 at 2/13/20 9:30 AM:
-------------------------------------------------------------

Client created is not getting closed as there is missing close object in com.sun.jersey.api.client.Client. So, added patch that destroys client on completion of REST call in remote RMWebService.


was (Author: minni31):
Client created is not getting closed as there is missing close object in com.sun.jersey.api.client.Client. So, added patch that destroys client on completion of REST call.

> Add timeout to RouterWebServiceUtil#invokeRMWebService
> ------------------------------------------------------
>
>                 Key: YARN-8529
>                 URL: https://issues.apache.org/jira/browse/YARN-8529
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Íñigo Goiri
>            Assignee: Minni Mittal
>            Priority: Major
>         Attachments: YARN-8529.v1.patch, YARN-8529.v2.patch, YARN-8529.v3.patch, YARN-8529.v4.patch, YARN-8529.v5.patch, YARN-8529.v6.patch
>
>
> {{RouterWebServiceUtil#invokeRMWebService}} currently has a fixed timeout. This should be configurable.
> Currently, client is only getting created. So, leak in Router should be handle.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org