Hello,

we had to implement a specific source to read files in a certain way. The
files we read are a NAS mounted through NFS.

If an error occurs in a map after this specific source when the file is
still being read, the file is never closed, resulting in the task manager
keeping the file open (apparently) indefinitely, and the file not allowed
to be moved until the task manager releases it
We then have to kill the full task manager in order to release the file.

I already added a closing of the file in the cancel method of the source.
But this does not seem to be sufficient.

What is the proper way to handle this issue? Is there some kind of closable
source interface we should implement?

Thanks in advance for your help.

Best Regards,

Laurent.

-- 
*Laurent Exsteens*
Data Engineer
(M) +32 (0) 486 20 48 36

*EURA NOVA*

Rue Emile Francqui, 4

1435 Mont-Saint-Guibert

(T) +32 10 75 02 00

*euranova.eu <http://euranova.eu/>*

*research.euranova.eu* <http://research.euranova.eu/>

-- 
♻ Be green, keep it on the screen

Reply via email to