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 wa...@apache.org on 2017/12/10 21:55:06 UTC

[33/50] [abbrv] hadoop git commit: HADOOP-15104. AliyunOSS: change the default value of max error retry. Contributed by Jinhu Wu

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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ce04340e
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ce04340e
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ce04340e

Branch: refs/heads/YARN-6592
Commit: ce04340ec73617daff74378056a95c5d0cc0a790
Parents: 19e0894
Author: Kai Zheng <zh...@alibaba-inc.com>
Authored: Fri Dec 8 23:03:54 2017 +0800
Committer: Kai Zheng <zh...@alibaba-inc.com>
Committed: Fri Dec 8 23:03:54 2017 +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/ce04340e/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