You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by dr...@apache.org on 2018/01/09 07:44:28 UTC
hadoop git commit: HADOOP-15104. AliyunOSS: change the default value
of max error retry. Contributed by Jinhu Wu
Repository: hadoop
Updated Branches:
refs/heads/branch-3.0 cbecf554c -> 539fa1132
HADOOP-15104. AliyunOSS: change the default value of max error retry. Contributed by Jinhu Wu
(cherry picked from commit ce04340ec73617daff74378056a95c5d0cc0a790)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/539fa113
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/539fa113
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/539fa113
Branch: refs/heads/branch-3.0
Commit: 539fa113257edb29c1edf3d4dac84b4e81f473c4
Parents: cbecf55
Author: Kai Zheng <zh...@alibaba-inc.com>
Authored: Fri Dec 8 23:03:54 2017 +0800
Committer: Kai Zheng <zh...@alibaba-inc.com>
Committed: Tue Jan 9 15:41:12 2018 +0800
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/fs/aliyun/oss/Constants.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/539fa113/hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/Constants.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/Constants.java b/hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/Constants.java
index baa171f..dd71842 100644
--- a/hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/Constants.java
+++ b/hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/Constants.java
@@ -66,7 +66,7 @@ public final class Constants {
// Number of times we should retry errors
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
public static final String ESTABLISH_TIMEOUT_KEY =
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org