Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0, 1.4.1, 1.5.0, 1.5.1
Description
The raster data source's OutputWriter uses `new Path(savePath).getFileSystem(context.getConfiguration)` to get a Hadoop FileSystem instance and a OutputWriter instance is initiated per task. This function will return a shared connection among all tasks on an executor.
It is common that a multi-core executor gets multiple concurrent tasks (one task per core). In the current implementation, if one task is completed, the connection is closed and all other tasks are having IO exception.
The best practice is to use `FileSystem.newInstance` for each task.
Attachments
Issue Links
- links to