+1

On Apr 11, 2007, at 11:02 AM, Doug Cutting (JIRA) wrote:


[ https://issues.apache.org/jira/browse/HADOOP-1213? page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1213:
---------------------------------

    Attachment: HADOOP-1213.patch

Here's a patch that cleans up the messages logged by the IPC server's handler thread, so that both the handler's name and the call are consistently logged for this and other errors.

When RPC call fails then log call message detail
------------------------------------------------

                Key: HADOOP-1213
URL: https://issues.apache.org/jira/browse/ HADOOP-1213
            Project: Hadoop
         Issue Type: Improvement
         Components: ipc
   Affects Versions: 0.12.2
           Reporter: Nigel Daley
           Priority: Minor
            Fix For: 0.13.0

        Attachments: HADOOP-1213.patch


When an RPC call fails, it would be helpful to have more information about the call. Currently, this is all I get. [junit] 2007-04-05 06:19:19,518 WARN ipc.Server (Server.java:run(594)) - handler output error
    [junit] java.nio.channels.ClosedChannelException
[junit] at sun.nio.ch.SocketChannelImpl.ensureWriteOpen (SocketChannelImpl.java:125) [junit] at sun.nio.ch.SocketChannelImpl.write (SocketChannelImpl.java:294) [junit] at org.apache.hadoop.ipc.SocketChannelOutputStream.flushBuffer (SocketChannelOutputStream.java:108) [junit] at org.apache.hadoop.ipc.SocketChannelOutputStream.write (SocketChannelOutputStream.java:89) [junit] at java.io.BufferedOutputStream.flushBuffer (BufferedOutputStream.java:65) [junit] at java.io.BufferedOutputStream.flush (BufferedOutputStream.java:123) [junit] at java.io.DataOutputStream.flush (DataOutputStream.java:106) [junit] at org.apache.hadoop.ipc.Server$Handler.run (Server.java:592)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Reply via email to