apache/hadoop · error · NoAuthWithAWSException
{name}No AWS Credentials provided by {providerNames}
Error message
{name}No AWS Credentials provided by {providerNames} What it means
Error "{name}No AWS Credentials provided by {providerNames}" thrown in apache/hadoop.
Source
Thrown at hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/AWSCredentialProviderList.java:224
if (e.getMessage() != null) {
lastException = SdkException.create(e.getMessage(), e);
}
LOG.debug("No credentials provided by {}: {}",
provider, e.toString(), e);
}
}
// no providers had any credentials. Rethrow the last exception
// or create a new one.
String message = name + "No AWS Credentials provided by "
+ listProviderNames();
if (lastException != null) {
message += ": " + lastException;
}
if (lastException instanceof CredentialInitializationException) {
throw lastException;
} else {
throw new NoAuthWithAWSException(message, lastException);
}
}
/**
* Returns the underlying list of providers.
*
* @return providers
*/
public List<AwsCredentialsProvider> getProviders() {
return providers;
}
/**
* Verify that the provider list is not empty.
* @throws SdkException if there are no providers.
*/
public void checkNotEmpty() {
if (providers.isEmpty()) {View on GitHub (pinned to 2add963021)
Solutions
- Configure AWS credentials: set fs.s3a.access.key and fs.s3a.secret.key, or use a credential provider chain that can supply credentials.
When it happens
Trigger: Thrown at hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/AWSCredentialProviderList.java:224 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22).
Data as JSON: /api/errors/d10c7b0f94810024.
Report an issue: GitHub.