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 CE4C8200C70 for ; Thu, 4 May 2017 20:38:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CCD16160BC4; Thu, 4 May 2017 18:38:09 +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 1EB3C160B9B for ; Thu, 4 May 2017 20:38:08 +0200 (CEST) Received: (qmail 54563 invoked by uid 500); 4 May 2017 18:38:08 -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 54543 invoked by uid 99); 4 May 2017 18:38:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2017 18:38:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D46771A055D for ; Thu, 4 May 2017 18:38:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JOghUGxuc0Mp for ; Thu, 4 May 2017 18:38:07 +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 75BFA5F5CA for ; Thu, 4 May 2017 18:38:06 +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 93C5DE0AF9 for ; Thu, 4 May 2017 18:38:05 +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 7666F21DF1 for ; Thu, 4 May 2017 18:38:04 +0000 (UTC) Date: Thu, 4 May 2017 18:38:04 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-14381) S3AUtils.translateException to map 503 reponse to => throttling failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 04 May 2017 18:38:10 -0000 Steve Loughran created HADOOP-14381: --------------------------------------- Summary: S3AUtils.translateException to map 503 reponse to =3D= > throttling failure Key: HADOOP-14381 URL: https://issues.apache.org/jira/browse/HADOOP-14381 Project: Hadoop Common Issue Type: Sub-task Components: fs/s3 Affects Versions: 2.8.0 Reporter: Steve Loughran When AWS S3 returns "503", it means that the overall set of requests on a p= art of an S3 bucket exceeds the permitted limit; the client(s) need to thro= ttle back or away for some rebalancing to complete. The aws SDK retries 3 times on a 503, but then throws it up. Our code doesn= 't do anything with that other than create a generic {{AWSS3IOException}}. Proposed * add a new exception, {{AWSOverloadedException}} * raise it on a 503 from S3 (& for s3guard, on DDB complaints) * have it include a link to a wiki page on the topic, as well as the path * and any other diags Code talking to S3 may then be able to catch this and choose to react. Some= retry with exponential backoff is the obvious option. Failing, well, that = could trigger task reattempts at that part of the query, then job retry =E2= =80=94which will again fail, *unless the number of tasks run in parallel is= reduced* As this throttling is across all clients talking to the same part of a buck= et, fixing it is potentially a high level option. We can at least start by = reporting things better -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org