[
https://issues.apache.org/jira/browse/YARN-8529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16547028#comment-16547028
]
Íñigo Goiri commented on YARN-8529:
-----------------------------------
I think we can do:
{code}
public static final int DEFAULT_ROUTER_WEBAPP_CONNECT_TIMEOUT_MS =
TimeUnit.SECONDS.toMillis(30);
{code}
And:
{code}
conf.getTimeDuration(YarnConfiguration.ROUTER_WEBAPP_CONNECT_TIMEOUT_MS,
YarnConfiguration.DEFAULT_ROUTER_WEBAPP_CONNECT_TIMEOUT_MS,
TimeUnit.MILLIS);
{code}
> 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: Giovanni Matteo Fumarola
> Priority: Major
> Attachments: YARN-8529.v1.patch, YARN-8529.v2.patch
>
>
> {{RouterWebServiceUtil#invokeRMWebService}} currently has a fixed timeout.
> This should be configurable.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]