{"record":{"id":"bf6e0324fc90a42b","repo":"apache/hadoop","slug":"name-no-aws-credential-providers","errorCode":null,"errorMessage":"{name}No AWS Credential Providers","messagePattern":"(.+?)No AWS Credential Providers","errorType":"exception","errorClass":"NoAuthWithAWSException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/AWSCredentialProviderList.java","lineNumber":243,"sourceCode":"    }\n  }\n\n  /**\n   * Returns the underlying list of providers.\n   *\n   * @return providers\n   */\n  public List<AwsCredentialsProvider> getProviders() {\n    return providers;\n  }\n\n  /**\n   * Verify that the provider list is not empty.\n   * @throws SdkException if there are no providers.\n   */\n  public void checkNotEmpty() {\n    if (providers.isEmpty()) {\n      throw new NoAuthWithAWSException(name + NO_AWS_CREDENTIAL_PROVIDERS);\n    }\n  }\n\n  /**\n   * List all the providers' names.\n   * @return a list of names, separated by spaces (with a trailing one).\n   * If there are no providers, \"\" is returned.\n   */\n  public String listProviderNames() {\n    return providers.stream()\n        .map(provider -> provider.getClass().getSimpleName() + ' ')\n        .collect(Collectors.joining());\n  }\n\n  /**\n   * The string value is this class name and the string values of nested\n   * providers.\n   * @return a string value for debugging.","sourceCodeStart":225,"sourceCodeEnd":261,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/AWSCredentialProviderList.java#L225-L261","documentation":"Error \"{name}No AWS Credential Providers\" thrown in apache/hadoop.","triggerScenarios":"Thrown at hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/AWSCredentialProviderList.java:243 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Configure fs.s3a.aws.credentials.provider with at least one credential provider class."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2add9630210752f88ceb1bb74eb65e37bf41da8e","analyzedAt":"2026-08-22T19:55:07.957Z","schemaVersion":2},"datasetVersion":"2026-08-22T20:17:22.307Z"}