Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.2
-
None
-
Reviewed
Description
S3A failures happening in the AWS library surface as AmazonClientException derivatives, rather than IOEs. As the amazon exceptions are runtime exceptions, any code which catches IOEs for error handling breaks.
The fix will be to catch and wrap. The hard thing will be to wrap it with meaningful exceptions rather than a generic IOE. Furthermore, if anyone has been catching AWS exceptions, they are going to be disappointed. That means that fixing this situation could be considered "incompatible" —but only for code which contains assumptions about the underlying FS and the exceptions they raise.
Attachments
Attachments
Issue Links
- is a clone of
-
HADOOP-13165 S3AFileSystem toString can throw NPE when cannedACL is not set
-
- Resolved
-
- is related to
-
HADOOP-13154 S3AFileSystem printAmazonServiceException/printAmazonClientException appear copy & paste of AWS examples
-
- Closed
-