Steve Loughran created HADOOP-14859:
---------------------------------------

             Summary: Shaded AWS library stops s3a recognising 
ConnectTimeoutException
                 Key: HADOOP-14859
                 URL: https://issues.apache.org/jira/browse/HADOOP-14859
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Steve Loughran
            Priority: Minor


S3AUtils.translateException() has special  handling for {{ConnectException}} 
and {{SocketTimeoutException}}, as they are both subclasses of 
InterruptedIOException, but for which special handling is useful for tuning how 
to react to the failures.

With the move to the shaded AWS SDK, the exception unwinding code doesn't work 
properly any more: it needs to look for a shaded 
com.amazonaws.thirdparty.apache.http packaged entry.

To restore that behaviour, either the code needs to look for the specific 
shaded class, or just look for any subclass of IOE called 
{{ConnectTimeoutException}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to