HeartSaVioR commented on pull request #33977:
URL: https://github.com/apache/spark/pull/33977#issuecomment-918666240


   I can't say for every places we use, but if I understand correctly, in 
HDFSBackedStateStoreProvider, we simplified the logic via allowing to close 
stream twice (with suppression of log message), given the fact that IOException 
happens with temporary file and we don't hurt anything.
   
   SPARK-36456 seemed to actually deal with deprecation warning message, which 
means the behavioral difference between IOUtils.closeQuietly and 
JavaUtils.closeQuietly is an unintentional change. If we identify somewhere we 
use IOUtils.closeQuietly which is better to log swallowed IOException, we 
should have a separate PR to change there to JavaUtils.closeQuietly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to