Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1723E972C for ; Thu, 15 Mar 2012 23:57:01 +0000 (UTC) Received: (qmail 36653 invoked by uid 500); 15 Mar 2012 23:57:00 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 36615 invoked by uid 500); 15 Mar 2012 23:57:00 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 36607 invoked by uid 99); 15 Mar 2012 23:57:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 23:57:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 23:56:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 93EFA22D3F for ; Thu, 15 Mar 2012 23:56:37 +0000 (UTC) Date: Thu, 15 Mar 2012 23:56:37 +0000 (UTC) From: "Suresh Srinivas (Updated) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1599104708.22090.1331855797607.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-5836) Bug in S3N handling of directory markers using an object with a trailing "/" causes jobs to fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas updated HADOOP-5836: ------------------------------------ Target Version/s: 1.1.0 Fix Version/s: 1.1.0 > Bug in S3N handling of directory markers using an object with a trailing "/" causes jobs to fail > ------------------------------------------------------------------------------------------------ > > Key: HADOOP-5836 > URL: https://issues.apache.org/jira/browse/HADOOP-5836 > Project: Hadoop Common > Issue Type: Bug > Components: fs/s3 > Affects Versions: 0.18.3 > Reporter: Ian Nowland > Assignee: Ian Nowland > Fix For: 0.21.0, 1.1.0 > > Attachments: HADOOP-5836-0-for_branch_1_0.patch, HADOOP-5836-0.patch, HADOOP-5836-2.patch > > > Some tools which upload to S3 and use a object terminated with a "/" as a directory marker, for instance "s3n://mybucket/mydir/". If asked to iterate that "directory" via listStatus(), then the current code will return an empty file "", which the InputFormatter happily assigns to a split, and which later causes a task to fail, and probably the job to fail. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira