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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to