Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Signed-off-by: Smith Cruise <[email protected]>
  • Loading branch information
Smith-Cruise committed Sep 12, 2024
1 parent a608b3e commit a7c0347
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
// We have to implement DefaultCredentialsProvider by ourselves,
// otherwise we may face "java.lang.IllegalStateException: Connection pool shut down" error.
//
// Hadoop S3AFileSystem will call `static AwsCredentialsProvider::create()` to create CredentialsProvider
// But in DefaultCredentialsProvider::create(), it will only return a global static variable
// Hadoop S3AFileSystem will call `static AwsCredentialsProvider::create()` to create CredentialsProvider.
// But in DefaultCredentialsProvider::create(), it will only return a global static variable.
// If we close S3AFileSystem, it will also close CredentialsProvider.
// For the next time we create a new S3AFileSystem, it will reuse previous closed CredentialsProvider, then error will be thrown
// You can check details in link:
Expand Down

0 comments on commit a7c0347

Please sign in to comment.