Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.0.0, 2.0.0-alpha
-
None
-
Reviewed
Description
Currently in GetImageServlet, we catch Exception but not other Errors or RTEs. So, if the code ends up throwing one of these exceptions, the "response.sendError()" code doesn't run, but the finally clause does run. This results in the servlet returning HTTP 200 OK and an empty response, which causes the client to think it got a successful image transfer.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-3388 GetJournalEditServlet should close output stream only if the stream is used.
- Resolved