HADOOP-18563. Misleading AWS SDK S3 timeout configuration comment (#5197)

Contributed by Oleksandr Shevchenko
This commit is contained in:
Oleksandr Shevchenko 2022-12-08 17:07:59 +02:00 committed by GitHub
parent c67c2b7569
commit 0a4528cd7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,12 +251,12 @@ private Constants() {
public static final boolean EXPERIMENTAL_AWS_INTERNAL_THROTTLING_DEFAULT = public static final boolean EXPERIMENTAL_AWS_INTERNAL_THROTTLING_DEFAULT =
true; true;
// seconds until we give up trying to establish a connection to s3 // milliseconds until we give up trying to establish a connection to s3
public static final String ESTABLISH_TIMEOUT = public static final String ESTABLISH_TIMEOUT =
"fs.s3a.connection.establish.timeout"; "fs.s3a.connection.establish.timeout";
public static final int DEFAULT_ESTABLISH_TIMEOUT = 50000; public static final int DEFAULT_ESTABLISH_TIMEOUT = 50000;
// seconds until we give up on a connection to s3 // milliseconds until we give up on a connection to s3
public static final String SOCKET_TIMEOUT = "fs.s3a.connection.timeout"; public static final String SOCKET_TIMEOUT = "fs.s3a.connection.timeout";
public static final int DEFAULT_SOCKET_TIMEOUT = 200000; public static final int DEFAULT_SOCKET_TIMEOUT = 200000;