Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 48937 invoked from network); 4 May 2010 09:02:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 09:02:23 -0000 Received: (qmail 65720 invoked by uid 500); 4 May 2010 09:02:21 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 65344 invoked by uid 500); 4 May 2010 09:02:20 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 65313 invoked by uid 99); 4 May 2010 09:02:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 09:02:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 09:02:18 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4491urh007989 for ; Tue, 4 May 2010 09:01:56 GMT Message-ID: <7161191.32531272963716603.JavaMail.jira@thor> Date: Tue, 4 May 2010 05:01:56 -0400 (EDT) From: "Jeff Hammerbacher (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6723) unchecked exceptions thrown in IPC Connection orphan clients In-Reply-To: <33033218.184741272223549956.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-6723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863725#action_12863725 ] Jeff Hammerbacher commented on HADOOP-6723: ------------------------------------------- Any reason this hasn't been committed yet? > unchecked exceptions thrown in IPC Connection orphan clients > ------------------------------------------------------------ > > Key: HADOOP-6723 > URL: https://issues.apache.org/jira/browse/HADOOP-6723 > Project: Hadoop Common > Issue Type: Bug > Components: ipc > Affects Versions: 0.20.2 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Critical > Fix For: 0.21.0, 0.22.0 > > Attachments: hadoop-6723.txt > > > If the server sends back some malformed data, for example, receiveResponse() can end up with an incorrect call ID. Then, when it tries to find it in the calls map, it will end up with null and throw NPE in receiveResponse. This isn't caught anywhere, so the original IPC client ends up hanging forever instead of catching an exception. Another example is if the writable implementation itself throws an unchecked exception or OOME. > We should catch Throwable in Connection.run() and shut down the connection if we catch one. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.