Hi all,

I have a requirement to process multiple splittable gzip files and the results 
need to include each individual file name.
I come across a problem when loading multiple gzip files using wholeTextFiles 
method and some files are corrupted causing ‘unexpected end of input stream' 
error and the whole job is failed. I tried using flatMap with try statement, 
still failed. Is there any way to handle this?


Regards,

Khwunchai Jaengsawang
Email: khwuncha...@ku.th
Mobile: +66 88 228 1715
LinkedIn <https://linkedin.com/in/khwunchai> | Github 
<https://github.com/khwunchai> | Facebook 
<https://www.facebook.com/khwunchai.j> | Google+ 
<http://google.com/+KhwunchaiJaengsawang>

Reply via email to