|
@@ -42,6 +42,10 @@ public class Constants {
|
|
|
// number of times we should retry errors
|
|
|
public static final String MAX_ERROR_RETRIES = "fs.s3a.attempts.maximum";
|
|
|
public static final int DEFAULT_MAX_ERROR_RETRIES = 10;
|
|
|
+
|
|
|
+ // seconds 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
|
|
|
public static final String SOCKET_TIMEOUT = "fs.s3a.connection.timeout";
|