Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Windows 7 64-bit, JDK 8u51
Description
The test fails with the assert at the very end ("Temp output file has not been removed"). This happens because FileOutputFormat.tryCleanupOnError can't delete the file, because it is still open (note, that Linux happily deletes open files).
A fix would be to have the this.format.close(); not just in the finally block (in DataSinkTask.invoke), but also before the tryCleanupOnError call (around line 217).
Attachments
Issue Links
- Is contained by
-
FLINK-3425 DataSinkTaskTest.Failing[Sorting]DataSinkTask fails on Windows
- Resolved