Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 57910 invoked from network); 15 Oct 2008 21:45:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2008 21:45:40 -0000 Received: (qmail 55887 invoked by uid 500); 15 Oct 2008 21:45:36 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 55847 invoked by uid 500); 15 Oct 2008 21:45:36 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 55796 invoked by uid 99); 15 Oct 2008 21:45:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2008 14:45:35 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2008 21:44:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4CAAD234C229 for ; Wed, 15 Oct 2008 14:44:44 -0700 (PDT) Message-ID: <1951825363.1224107084313.JavaMail.jira@brutus> Date: Wed, 15 Oct 2008 14:44:44 -0700 (PDT) From: "David Phillips (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4422) S3 native fs should not create bucket In-Reply-To: <429807891.1224107084202.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Phillips updated HADOOP-4422: ----------------------------------- Attachment: hadoop-s3n-nocreate.patch Simple patch that removes bucket creation. > S3 native fs should not create bucket > ------------------------------------- > > Key: HADOOP-4422 > URL: https://issues.apache.org/jira/browse/HADOOP-4422 > Project: Hadoop Core > Issue Type: Bug > Components: fs/s3 > Affects Versions: 0.18.1 > Reporter: David Phillips > Attachments: hadoop-s3n-nocreate.patch > > > S3 native file system tries to create the bucket at every initialization. This is bad because > * Every S3 operation costs money. These unnecessary calls are an unnecessary expense. > * These calls can fail when called concurrently. This makes the file system unusable in large jobs. > * Any operation, such as a "fs -ls", creates a bucket. This is counter-intuitive and undesirable. > The initialization code should assume the bucket exists: > * Creating a bucket is a very rare operation. Accounts are limited to 100 buckets. > * Any check at initialization for bucket existence is a waste of money. > Per Amazon: "Because bucket operations work against a centralized, global resource space, it is not appropriate to make bucket create or delete calls on the high availability code path of your application. It is better to create or delete buckets in a separate initialization or setup routine that you run less often." -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.