[ 
https://issues.apache.org/jira/browse/HADOOP-16197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-16197:
------------------------------------
    Description: 
Currently S3AUtils.translateException will convert {{NoAuthWithAWSException}} 
AccessDeniedException but not the superclass 
{{CredentialInitializationException}}. 

That is just mapped to the generic AWSClientIOException, which is considered 
retryable on idempotent calls.

This means that if any DT provider/AWS auth chain raises  
{{CredentialInitializationException}}., such as during the FS init, the 
operation will be retried until it eventually times out.

  was:
Currently S3ATestUtils.translateException will convert 
{{NoAuthWithAWSException}} AccessDeniedException but not the superclass 
{{CredentialInitializationException}}. 

That is just mapped to the generic AWSClientIOException, which is considered 
retryable on idempotent calls.

This means that if any DT provider/AWS auth chain raises  
{{CredentialInitializationException}}., such as during the FS init, the 
operation will be retried until it eventually times out.


> S3AUtils.translateException to map CredentialInitializationException to 
> AccessDeniedException
> ---------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-16197
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16197
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 3.2.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>
> Currently S3AUtils.translateException will convert {{NoAuthWithAWSException}} 
> AccessDeniedException but not the superclass 
> {{CredentialInitializationException}}. 
> That is just mapped to the generic AWSClientIOException, which is considered 
> retryable on idempotent calls.
> This means that if any DT provider/AWS auth chain raises  
> {{CredentialInitializationException}}., such as during the FS init, the 
> operation will be retried until it eventually times out.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to