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 C2285200BCC for ; Mon, 24 Oct 2016 17:07:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C0E94160B08; Mon, 24 Oct 2016 15:07:02 +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 40660160BD2 for ; Mon, 24 Oct 2016 16:40:03 +0200 (CEST) Received: (qmail 17975 invoked by uid 500); 24 Oct 2016 14:40:00 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 17227 invoked by uid 99); 24 Oct 2016 14:40:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 14:40:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4F7092C2ABE for ; Mon, 24 Oct 2016 14:40:00 +0000 (UTC) Date: Mon, 24 Oct 2016 14:40:00 +0000 (UTC) From: "Steve Loughran (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MAPREDUCE-6800) FileInputFormat.singleThreadedListStatus to use listFiles(recursive) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 24 Oct 2016 15:07:03 -0000 Steve Loughran created MAPREDUCE-6800: ----------------------------------------- Summary: FileInputFormat.singleThreadedListStatus to use listFiles(recursive) Key: MAPREDUCE-6800 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6800 Project: Hadoop Map/Reduce Issue Type: Improvement Components: mrv2 Affects Versions: 2.7.3 Reporter: Steve Loughran Priority: Minor {{FileInputFormat.singleThreadedListStatus}} does recursive directory walks to pick files to scan. This is very inefficient on object stores, and can be bypassed if {{listFiles(recursive=true)}} can be used instead. Based on the experience of SPARK-2984, it should also be resilient to a source file going away during the iteration, downgrading an FNFE to a "skip that nonexistent path" -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org