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

Hudson commented on MAPREDUCE-7108:
-----------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14413 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14413/])
MAPREDUCE-7108. TestFileOutputCommitter fails on Windows. (Zuoming Zhang (gera: 
rev 04b74eddc67888142879ed114d21348e8a4aad78)
* (edit) 
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/TestFileOutputCommitter.java


> TestFileOutputCommitter fails on Windows
> ----------------------------------------
>
>                 Key: MAPREDUCE-7108
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7108
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.1.0, 2.9.1
>            Reporter: Zuoming Zhang
>            Assignee: Zuoming Zhang
>            Priority: Minor
>              Labels: Windows
>         Attachments: MAPREDUCE-7108-TestFileOutputCommitter-Report.000.txt, 
> MAPREDUCE-7108-TestFileOutputCommitter-Report.001.txt, 
> MAPREDUCE-7108-TestFileOutputCommitter-Report.002.txt, 
> MAPREDUCE-7108.000.patch, MAPREDUCE-7108.001.patch, MAPREDUCE-7108.002.patch, 
> MAPREDUCE-7108.003.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> TestFileOutputCommitter.java fails on Windows.
> Reason:
> This is because in testMapFileOutputCommitterInternal, after executing 
> MapFileOutputFormat.getReaders(outDir, conf), the readers are not properly 
> closed. So other apis that attempt to delete the existing file fails due to 
> the file handler already being used.
>  
> Solution:
> Close all readers after call MapFileOutputFormat.getReaders(outDir, conf);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to