Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14859

Shaded AWS library stops s3a recognising ConnectTimeoutException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • 3.1.0
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: