You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/09/11 16:45:00 UTC
[jira] [Created] (HADOOP-14859) Shaded AWS library stops s3a
recognising ConnectTimeoutException
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org