You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/09/12 06:59:02 UTC

[GitHub] klion26 commented on issue #6498: [FLINK-10065] InstantiationUtil.deserializeObject(InputStream in, ClassLoader cl, boolean isFailureTolerant) will close the inputStream

klion26 commented on issue #6498: [FLINK-10065] InstantiationUtil.deserializeObject(InputStream in, ClassLoader cl, boolean isFailureTolerant) will close the inputStream
URL: https://github.com/apache/flink/pull/6498#issuecomment-420534659
 
 
   Hi, @StephanEwen @tzulitai @tillrohrmann Could you help to review this pr please?
   
   I encountered this problem while refactor snapshot/restore in my owner branch, in the restore function, I opened the file and called `InstantiationUtil#deserializeObject` from the previous opened InputStream, then the InputStream will closed by `InstantiationUtil#deserializeObject`.
   
   I think others may encounter this problem too, so please help to review this pr, thank you

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services