Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ACFD9200D51 for ; Fri, 22 Dec 2017 20:39:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AB585160C1A; Fri, 22 Dec 2017 19:39:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F0960160C19 for ; Fri, 22 Dec 2017 20:39:03 +0100 (CET) Received: (qmail 96264 invoked by uid 500); 22 Dec 2017 19:39:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 96252 invoked by uid 99); 22 Dec 2017 19:39:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Dec 2017 19:39:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 88E16180A23 for ; Fri, 22 Dec 2017 19:39:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 7kmPEkkSU4N0 for ; Fri, 22 Dec 2017 19:39:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 378535F121 for ; Fri, 22 Dec 2017 19:39:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7251DE04F4 for ; Fri, 22 Dec 2017 19:39:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2BF57212F7 for ; Fri, 22 Dec 2017 19:39:00 +0000 (UTC) Date: Fri, 22 Dec 2017 19:39:00 +0000 (UTC) From: "Ray Chiang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HADOOP-15104) AliyunOSS: change the default value of max error retry MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 22 Dec 2017 19:39:04 -0000 [ https://issues.apache.org/jira/browse/HADOOP-15104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301867#comment-16301867 ] Ray Chiang edited comment on HADOOP-15104 at 12/22/17 7:38 PM: --------------------------------------------------------------- It looks like this got pushed to branch-3.0.0, but not branch-3.0, so it's going to be missing from the 3.0.x releases. was (Author: rchiang): It looks like this got pushed to branch-3.0, but not branch-3.0.0, so it's going to be missing from the 3.0.x releases. > AliyunOSS: change the default value of max error retry > ------------------------------------------------------ > > Key: HADOOP-15104 > URL: https://issues.apache.org/jira/browse/HADOOP-15104 > Project: Hadoop Common > Issue Type: Improvement > Components: fs/oss > Affects Versions: 3.0.0-beta1 > Reporter: wujinhu > Assignee: wujinhu > Fix For: 3.0.0, 3.1.0, 2.10.0, 2.9.1 > > Attachments: HADOOP-15104.001.patch > > > Currently, default number of times we should retry errors is 20, however, oss sdk retry delay is > {code:java} > long delay = (long)Math.pow(2, retries) * 0.3 > {code} > when one error occurs. So, if we retry 20 times, sleep time will be about 3.64 days and it is unacceptable. So we should change the default behavior. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org