Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 66277 invoked from network); 22 Feb 2010 22:18:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2010 22:18:54 -0000 Received: (qmail 72694 invoked by uid 500); 22 Feb 2010 22:18:54 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 72637 invoked by uid 500); 22 Feb 2010 22:18:54 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 72627 invoked by uid 99); 22 Feb 2010 22:18:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 22:18:54 +0000 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; Mon, 22 Feb 2010 22:18:54 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4847A29A0025 for ; Mon, 22 Feb 2010 14:18:34 -0800 (PST) Message-ID: <1722618290.445811266877114295.JavaMail.jira@brutus.apache.org> Date: Mon, 22 Feb 2010 22:18:34 +0000 (UTC) From: "dhruba borthakur (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1501) FileInputFormat to support multi-level/recursive directory listing In-Reply-To: <1824022220.345731266447447919.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836948#action_12836948 ] dhruba borthakur commented on MAPREDUCE-1501: --------------------------------------------- I think Ian mentioned that you can enhance this feature by allowing the user to register a set of PathFilters. That will allow the job to process only a selected subset of the subdirectories. > FileInputFormat to support multi-level/recursive directory listing > ------------------------------------------------------------------ > > Key: MAPREDUCE-1501 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1501 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Reporter: Zheng Shao > Assignee: Zheng Shao > Attachments: MAPREDUCE-1501.1.branch-0.20.patch, MAPREDUCE-1501.1.trunk.patch > > > As we have seen multiple times in the mailing list, users want to have the capability of getting all files out of a multi-level directory structure. > 4/1/2008: http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200804.mbox/%3Ce75c02ef0804011433x144813e6x2450da7883de3aca@mail.gmail.com%3E > 2/3/2009: http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200902.mbox/%3C7F80089C-3E7F-4330-90BA-6F1C5B0B0F3F@nist.gov%3E > 6/2/2009: http://mail-archives.apache.org/mod_mbox/hadoop-common-user/200906.mbox/%3C4A258A16.8050300@darose.net%3E > One solution that our users had is to write a new FileInputFormat, but that means all existing FileInputFormat subclasses need to be changed in order to support this feature. > We can easily provide a JobConf option (which defaults to false) to {{FileInputFormat.listStatus(...)}} to recursively go into directory structure. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.