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

Gera Shegalov updated MAPREDUCE-7108:
-------------------------------------
          Resolution: Fixed
       Fix Version/s: 2.9.2
                      3.1.1
                      3.2.0
    Target Version/s: 2.9.1, 3.1.0  (was: 3.1.0, 2.9.1)
              Status: Resolved  (was: Patch Available)

Committed to trunk, branch-2, branch-2.9, branch-3.1. Thanks to [~zuzhan] for 
contribution, and [~elgoiri] and [~giovanni.fumarola] for additional reviews 

> 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
>             Fix For: 3.2.0, 3.1.1, 2.9.2
>
>         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: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to