gardenia opened a new pull request, #5347:
URL: https://github.com/apache/hadoop/pull/5347

   Fix a bug in the close() method of CryptoOutputStream.
   
   ### Description of PR
   
   When closing we need to wrap the flush() in a try .. finally, otherwise when 
flush throws it will prevent us completing the remainder of the close 
activities and in particular the close of the underlying wrapped stream object 
resulting in a resource leak.
   
   ### How was this patch tested?
   
   Unit test added
   
   


-- 
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