Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
RPC server logs and sends the exceptions that occur inside the call. But if there is an exception during construction of objects, the exception is not logged. Clients just see EOF because server closes the connection.
I got bitten by this since couple of my objects did not have default constructors (and same case if readFields() throws an NPE). This is a silly mistake on my part but I think it is easy to make the mistake but hard to see where the problem is.
Server can still close the connection but should log it at the server.
Attachments
Issue Links
- is depended upon by
-
HADOOP-11574 Uber-JIRA: improve Hadoop network resilience & diagnostics
- Open