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 Steve Loughran
parent 95890f3368
commit dafc9ef8b6
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0

View File

@ -251,12 +251,12 @@ private Constants() {
public static final boolean EXPERIMENTAL_AWS_INTERNAL_THROTTLING_DEFAULT =
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 =
"fs.s3a.connection.establish.timeout";
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 int DEFAULT_SOCKET_TIMEOUT = 200000;