HADOOP-15104. Aliyun OSS: change the default value of max error retry. Contributed by Jinhu Wu.

(cherry picked from commit ce04340ec73617daff74378056a95c5d0cc0a790)
This commit is contained in:
Sammi Chen 2017-12-15 13:53:48 +08:00
parent a85036aed1
commit 27807e4ccb

View File

@ -66,7 +66,7 @@ private Constants() {
// Number of times we should retry errors // Number of times we should retry errors
public static final String MAX_ERROR_RETRIES_KEY = "fs.oss.attempts.maximum"; public static final String MAX_ERROR_RETRIES_KEY = "fs.oss.attempts.maximum";
public static final int MAX_ERROR_RETRIES_DEFAULT = 20; public static final int MAX_ERROR_RETRIES_DEFAULT = 10;
// Time until we give up trying to establish a connection to oss // Time until we give up trying to establish a connection to oss
public static final String ESTABLISH_TIMEOUT_KEY = public static final String ESTABLISH_TIMEOUT_KEY =