Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EDB1A200BC2 for ; Thu, 17 Nov 2016 09:28:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EC0E9160B0B; Thu, 17 Nov 2016 08:28:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 42BB7160AFF for ; Thu, 17 Nov 2016 09:28:00 +0100 (CET) Received: (qmail 73073 invoked by uid 500); 17 Nov 2016 08:27:59 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 72966 invoked by uid 99); 17 Nov 2016 08:27:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2016 08:27:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BBA642C4C7A for ; Thu, 17 Nov 2016 08:27:58 +0000 (UTC) Date: Thu, 17 Nov 2016 08:27:58 +0000 (UTC) From: "DENG FEI (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-11153) RPC Client detect address changed should reconnect immediately MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 17 Nov 2016 08:28:01 -0000 DENG FEI created HDFS-11153: ------------------------------- Summary: RPC Client detect address changed should reconnect immediately Key: HDFS-11153 URL: https://issues.apache.org/jira/browse/HDFS-11153 Project: Hadoop HDFS Issue Type: Bug Components: ipc Affects Versions: 3.0.0-alpha1 Reporter: DENG FEI HA mode,the _*"ipc.client.connect.max.retries.on.timeouts"*_ and _*"ipc.client.connect.max.retries"*_ is set zero,but if met active NN's ip changed,it will detect the address is changed,but won't reconnect because exceed the max retry times,after do 15 times failover and then throw connection or standby exception. maybe if found the address is changed,should reconnect immediately no matter the retry times limit. ---- log is below: {noformat} 2016-11-16 17:00:20,844 (WARN org.apache.hadoop.ipc.Client 510): Address change detected. Old: *****:9000 New: XXXXX:9000 2016-11-16 17:01:09,893 (WARN org.apache.hadoop.ipc.Client 510): Address change detected. Old: *****::9000 New: XXXXX:9000 2016-11-16 17:01:09,893 (WARN org.apache.hadoop.io.retry.RetryInvocationHandler 118): Exception while invoking class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo. Not retrying because failovers (15) exceeded maximum allowed (15) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org