steveloughran commented on a change in pull request #619: HADOOP-16197
S3ATestUtils.translateException to map CredentialInitializationException to
AccessDeniedException
URL: https://github.com/apache/hadoop/pull/619#discussion_r271778213
##########
File path:
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AUtils.java
##########
@@ -193,7 +193,7 @@ public static IOException translateException(@Nullable
String operation,
// call considered an sign of connectivity failure
return (EOFException)new EOFException(message).initCause(exception);
}
- if (exception instanceof NoAuthWithAWSException) {
+ if (exception instanceof CredentialInitializationException) {
Review comment:
done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]