Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 33119 invoked from network); 11 Apr 2007 18:02:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Apr 2007 18:02:56 -0000 Received: (qmail 78300 invoked by uid 500); 11 Apr 2007 18:02:59 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 78276 invoked by uid 500); 11 Apr 2007 18:02:59 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 78267 invoked by uid 99); 11 Apr 2007 18:02:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 11:02:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 11:02:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6F46B714077 for ; Wed, 11 Apr 2007 11:02:32 -0700 (PDT) Message-ID: <21945761.1176314552450.JavaMail.jira@brutus> Date: Wed, 11 Apr 2007 11:02:32 -0700 (PDT) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1213) When RPC call fails then log call message detail In-Reply-To: <31046639.1175809952222.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.