Junping Du created YARN-3695:
--------------------------------

             Summary: 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