[
https://issues.apache.org/jira/browse/HADOOP-8904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478648#comment-13478648
]
Suresh Srinivas commented on HADOOP-8904:
-----------------------------------------
Daniel, can you please also change the indentation in this patch to two spaces.
> Hadoop does not close output file / does not call Mapper.cleanup if
> exception in map
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-8904
> URL: https://issues.apache.org/jira/browse/HADOOP-8904
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1-win
> Reporter: Daniel Dai
> Attachments: HADOOP-8904-1.patch
>
>
> Find this in Pig unit test TestStore under Windows. There are dangling files
> because map does not close the file when exception happens in map(). In
> Windows, Hadoop will not remove a file if it is not closed. This happens in
> reduce() as well.
--
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