Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 40180 invoked from network); 3 Jul 2007 18:41:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2007 18:41:33 -0000 Received: (qmail 62708 invoked by uid 500); 3 Jul 2007 18:41:30 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 62681 invoked by uid 500); 3 Jul 2007 18:41:30 -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 62652 invoked by uid 99); 3 Jul 2007 18:41:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 11:41:30 -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; Tue, 03 Jul 2007 11:41:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8A1777141F0 for ; Tue, 3 Jul 2007 11:41:05 -0700 (PDT) Message-ID: <15961008.1183488065561.JavaMail.jira@brutus> Date: Tue, 3 Jul 2007 11:41:05 -0700 (PDT) From: "Raghu Angadi (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-1561) RPC server should log exceptions that are not sent to client. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 Issue Type: Bug Components: ipc Reporter: Raghu Angadi Priority: Minor Fix For: 0.14.0 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 part but I think it is easy to make the mistake but hard to where the problem is. Server can still close the connection but should log it at the server. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.