Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.22.0, Edit log branch (HDFS-1073), 0.23.0
-
None
-
Reviewed
Description
If the image transfer process receives a client-side error when transferring edit logs, it will throw an exception before it has completely read all of the input from the server-side servlet. Then, the finally clause will throw a new error, since the received length is less than the length given in the header. This masks the client-side exception and makes it look like a network error or a server-side problem.