Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 DDB0110819 for ; Mon, 5 Aug 2013 08:28:58 +0000 (UTC) Received: (qmail 93358 invoked by uid 500); 5 Aug 2013 08:28:54 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 93088 invoked by uid 500); 5 Aug 2013 08:28:53 -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 92551 invoked by uid 99); 5 Aug 2013 08:28:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Aug 2013 08:28:50 +0000 Date: Mon, 5 Aug 2013 08:28:50 +0000 (UTC) From: "Maysam Yabandeh (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MAPREDUCE-5448) MapFileOutputFormat#getReaders bug with invisible files/folders MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Maysam Yabandeh created MAPREDUCE-5448: ------------------------------------------ Summary: MapFileOutputFormat#getReaders bug with invisible files/folders Key: MAPREDUCE-5448 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5448 Project: Hadoop Map/Reduce Issue Type: Bug Reporter: Maysam Yabandeh Assignee: Maysam Yabandeh Priority: Minor MapReduce jobs also produce some invisible files such as _SUCCESS, even when the output format is MapFileOutputFormat. MapFileOutputFormat#getReaders however reads the entire content of the job output, assming that they are MapFiles. {code} Path[] names = FileUtil.stat2Paths(fs.listStatus(dir)); {code} It should use a filter to skip the files that start with "." or "_". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira