[ 
https://issues.apache.org/jira/browse/YARN-3695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junping Du updated YARN-3695:
-----------------------------
    Description: YARN-3646 fix the retry forever policy in RMProxy that it only 
applies on limited exceptions rather than all exceptions. Here, we may need the 
same fix for ServerProxy (NMProxy).  (was: YARN-3646 fix the retry forever 
policy that it only applies on limited exceptions rather than all exceptions. 
Here, we may want to review these exceptions. At least, exception EOFException 
shouldn't retry forever.

{code}
    exceptionToPolicyMap.put(EOFException.class, retryPolicy);
    exceptionToPolicyMap.put(ConnectException.class, retryPolicy);
    exceptionToPolicyMap.put(NoRouteToHostException.class, retryPolicy);
    exceptionToPolicyMap.put(UnknownHostException.class, retryPolicy);
    exceptionToPolicyMap.put(ConnectTimeoutException.class, retryPolicy);
    exceptionToPolicyMap.put(RetriableException.class, retryPolicy);
    exceptionToPolicyMap.put(SocketException.class, retryPolicy);
{code})

> ServerProxy (NMProxy, etc.) shouldn't retry forever for non network exception.
> ------------------------------------------------------------------------------
>
>                 Key: YARN-3695
>                 URL: https://issues.apache.org/jira/browse/YARN-3695
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Junping Du
>
> YARN-3646 fix the retry forever policy in RMProxy that it only applies on 
> limited exceptions rather than all exceptions. Here, we may need the same fix 
> for ServerProxy (NMProxy).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to