[
https://issues.apache.org/jira/browse/HADOOP-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116768#comment-13116768
]
Steve Loughran commented on HADOOP-1561:
----------------------------------------
what level should it log at? I'd hate for server-side logs to overflow because
clients are playing games with the server; we'd need to filter out anything a
client can trigger
> RPC server should log exceptions that are not sent to client.
> -------------------------------------------------------------
>
> Key: HADOOP-1561
> URL: https://issues.apache.org/jira/browse/HADOOP-1561
> Project: Hadoop Common
> Issue Type: Bug
> Components: ipc
> Reporter: Raghu Angadi
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira