Package org.apache.hadoop.fs.s3a

Class CredentialInitializationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
software.amazon.awssdk.core.exception.SdkException
software.amazon.awssdk.core.exception.SdkClientException
org.apache.hadoop.fs.s3a.CredentialInitializationException
All Implemented Interfaces:
Serializable

@Public @Stable public class CredentialInitializationException extends software.amazon.awssdk.core.exception.SdkClientException
Exception which Hadoop's AWSCredentialsProvider implementations should throw when there is a problem with the credential setup. This is a subclass of SdkClientException which sets retryable() to false, so as to fail fast. This is used in credential providers and elsewhere. When passed through S3AUtils.translateException() it is mapped to an AccessDeniedException.
See Also:
  • Constructor Details

    • CredentialInitializationException

      public CredentialInitializationException(String message, Throwable t)
    • CredentialInitializationException

      public CredentialInitializationException(String message)
  • Method Details

    • retryable

      public boolean retryable()
      This exception is not going to go away if you try calling it again.
      Overrides:
      retryable in class software.amazon.awssdk.core.exception.SdkException
      Returns:
      false, always.