Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 42314 invoked from network); 31 Mar 2010 20:27:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Mar 2010 20:27:51 -0000 Received: (qmail 67946 invoked by uid 500); 31 Mar 2010 20:27:51 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 67911 invoked by uid 500); 31 Mar 2010 20:27:51 -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 67903 invoked by uid 99); 31 Mar 2010 20:27:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 20:27:51 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 20:27:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BFAC8234C4BE for ; Wed, 31 Mar 2010 20:27:27 +0000 (UTC) Message-ID: <1761127042.614621270067247784.JavaMail.jira@brutus.apache.org> Date: Wed, 31 Mar 2010 20:27:27 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Updated: (HADOOP-6667) RPC.waitForProxy should retry through NoRouteToHostException In-Reply-To: <1055367164.614271270066767200.JavaMail.jira@brutus.apache.org> 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-6667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HADOOP-6667: -------------------------------- Attachment: hadoop-6667.txt Trivial patch attached. There's no test case since this is just like the other existing catch clauses, and any test case would just be testing whether catch clauses indeed work :) > RPC.waitForProxy should retry through NoRouteToHostException > ------------------------------------------------------------ > > Key: HADOOP-6667 > URL: https://issues.apache.org/jira/browse/HADOOP-6667 > Project: Hadoop Common > Issue Type: Improvement > Components: ipc > Affects Versions: 0.21.0, 0.22.0 > Reporter: Todd Lipcon > Priority: Minor > Attachments: hadoop-6667.txt > > > RPC.waitForProxy already loops through ConnectExceptions, but NoRouteToHostException is not a subclass of ConnectException. In the case that the NN is on a VIP, the No Route To Host error is reasonably common during a failover, so we should retry through it just the same as the other connection errors. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.