You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/03/22 05:35:11 UTC

[jira] [Commented] (MAPREDUCE-5448) MapFileOutputFormat#getReaders bug with invisible files/folders

    [ https://issues.apache.org/jira/browse/MAPREDUCE-5448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14374787#comment-14374787 ] 

Hudson commented on MAPREDUCE-5448:
-----------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #7396 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/7396/])
MAPREDUCE-5448. MapFileOutputFormat#getReaders bug with invisible files/folders. Contributed by Maysam Yabandeh. (harsh: rev b46c2bb51ae524e6640756620f70e5925cda7592)
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/TestFileOutputCommitter.java
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/output/MapFileOutputFormat.java
* hadoop-mapreduce-project/CHANGES.txt


> 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
>          Components: mrv2
>    Affects Versions: 2.6.0
>            Reporter: Maysam Yabandeh
>            Assignee: Maysam Yabandeh
>            Priority: Minor
>             Fix For: 2.8.0
>
>         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)