Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFCEB9B23 for ; Thu, 1 Mar 2012 00:22:22 +0000 (UTC) Received: (qmail 70720 invoked by uid 500); 1 Mar 2012 00:22:22 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 70629 invoked by uid 500); 1 Mar 2012 00:22:21 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 70619 invoked by uid 99); 1 Mar 2012 00:22:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 00:22:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 00:22:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 80ECC542E5 for ; Thu, 1 Mar 2012 00:21:58 +0000 (UTC) Date: Thu, 1 Mar 2012 00:21:58 +0000 (UTC) From: "Todd Lipcon (Reopened) (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <404596866.5501.1330561318529.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1066297405.4247.1329787054490.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (HDFS-2979) HA: Balancer should use logical uri for creating failover proxy with HA enabled. 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/HDFS-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon reopened HDFS-2979: ------------------------------- This patch seems to have made some tests fail (I noticed with TestFileAppend2). It seems to be trying to connect to 127.0.0.1:0 instead of the correct port. > HA: Balancer should use logical uri for creating failover proxy with HA enabled. > -------------------------------------------------------------------------------- > > Key: HDFS-2979 > URL: https://issues.apache.org/jira/browse/HDFS-2979 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer, hdfs client > Affects Versions: HA branch (HDFS-1623) > Reporter: Uma Maheswara Rao G > Assignee: Aaron T. Myers > Fix For: HA branch (HDFS-1623) > > Attachments: HDFS-2979-HDFS-1623.patch, HDFS-2979-HDFS-1623.patch, HDFS-2979-HDFS-1623.patch, HDFS-2979.patch > > > Presently Balancer uses real URI for creating the failover proxy. > Since the failover proxy checks for uri consistency, we should pass logical uri for creating failover proxy instead of instead of real URI. Presently will work only with default port. > java.io.IOException: Port 49832 specified in URI hdfs://127.0.0.1:49832 but host '127.0.0.1' is a logical (HA) namenode and does not use port information. > at org.apache.hadoop.hdfs.HAUtil.getFailoverProxyProviderClass(HAUtil.java:224) > at org.apache.hadoop.hdfs.HAUtil.createFailoverProxy(HAUtil.java:247) > at org.apache.hadoop.hdfs.server.balancer.NameNodeConnector.(NameNodeConnector.java:80) > at org.apache.hadoop.hdfs.server.balancer.Balancer.run(Balancer.java:1401) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira