Details
Description
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);
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-15475 Fix broken unit tests on Windows
- Open