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

Jian He commented on YARN-3695:
-------------------------------

[~djp], we have seen in some cases EOFException is thrown when connection 
loses. see YARN-2841

> EOFException shouldn't be retry forever in RMProxy
> --------------------------------------------------
>
>                 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 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}



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

Reply via email to