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 CD816200B43 for ; Tue, 19 Jul 2016 18:46:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CC36B160A76; Tue, 19 Jul 2016 16:46:23 +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 22B2E160A5C for ; Tue, 19 Jul 2016 18:46:22 +0200 (CEST) Received: (qmail 92881 invoked by uid 500); 19 Jul 2016 16:46:21 -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 92618 invoked by uid 99); 19 Jul 2016 16:46:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2016 16:46:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2BE162C0E38 for ; Tue, 19 Jul 2016 16:46:21 +0000 (UTC) Date: Tue, 19 Jul 2016 16:46:21 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Updated]_(HADOOP-13387)_users_always_ge?= =?utf-8?Q?t_told_off_for_using_S3_=E2=80=94even_when_not_using_it.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 19 Jul 2016 16:46:24 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13387?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-13387: ------------------------------------ Attachment: HADOOP-13887-branch-2-001.patch code, no tests. Evidence it works from the output of one of the tests {code} 2016-07-19 17:39:07,033 [Thread-0] WARN fs.FileSystem (S3FileSystem.java:w= arnDeprecation(84)) - S3FileSystem is deprecated and will be removed in fut= ure releases. Use NativeS3FileSystem or S3AFileSystem instead. 2016-07-19 17:39:07,105 [Thread-0] INFO contract.AbstractFSContractTestBas= e (AbstractFSContractTestBase.java:setup(172)) - Test filesystem =3D s3://h= wdev-steve-new implemented by org.apache.hadoop.fs.s3.S3FileSystem@79791d72 2016-07-19 17:39:12,207 [Thread-0] INFO contract.AbstractFSContractTestBas= e (AbstractFSContractTestBase.java:describe(240)) - readFully zero bytes fr= om an offset past EOF 2016-07-19 17:39:12,371 [Thread-0] INFO contract.AbstractContractSeekTest = (AbstractContractSeekTest.java:testReadFullyZeroBytebufferPastEOF(504)) - F= ilesystem short-circuits 0-byte reads {code} The message is printed once only. > users always get told off for using S3 =E2=80=94even when not using it. > --------------------------------------------------------------- > > Key: HADOOP-13387 > URL: https://issues.apache.org/jira/browse/HADOOP-13387 > Project: Hadoop Common > Issue Type: Bug > Components: fs/s3 > Affects Versions: 2.8.0 > Reporter: Steve Loughran > Attachments: HADOOP-13887-branch-2-001.patch > > > The warning telling people not to use s3 appears during filesystem initia= lization -even if you aren't using the FS. This is because it is printed du= ring static initialization, and when the FS code loads all available filesy= stems, that static code is inited. > It needs to be moved into the init() code of an instance -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org