hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zuoming Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-7108) TestFileOutputCommitter fails on Windows
Date Fri, 08 Jun 2018 01:35:00 GMT
Zuoming Zhang created MAPREDUCE-7108:

             Summary: TestFileOutputCommitter fails on Windows
                 Key: MAPREDUCE-7108
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7108
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 2.9.1, 3.1.0
            Reporter: Zuoming Zhang
             Fix For: 2.9.1, 3.1.0

TestFileOutputCommitter.java fails on Windows.


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.



Close all readers after call MapFileOutputFormat.getReaders(outDir, conf);

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: mapreduce-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org

View raw message