[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harsh J updated MAPREDUCE-5448:
-------------------------------
    Attachment: MAPREDUCE-5448.patch

+1, I've just cleaned up the indentation and the comment typo in the test case 
added. Changed diff attached for ref.

Committing shortly. Thanks Maysam!

> 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
>         Attachments: MAPREDUCE-5448.patch, MAPREDUCE-5448.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to