Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7193C9039 for ; Thu, 1 Mar 2012 01:00:20 +0000 (UTC) Received: (qmail 55867 invoked by uid 500); 1 Mar 2012 01:00:20 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 55826 invoked by uid 500); 1 Mar 2012 01:00:20 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 55817 invoked by uid 99); 1 Mar 2012 01:00:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 01:00:20 +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 01:00: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 210AFC71E8 for ; Thu, 1 Mar 2012 00:59:59 +0000 (UTC) Date: Thu, 1 Mar 2012 00:59:59 +0000 (UTC) From: "Aaron T. Myers (Resolved) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1303828147.5600.1330563599136.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <509451620.4248.1329787054543.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (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 ] Aaron T. Myers resolved HDFS-2979. ---------------------------------- Resolution: Fixed Thanks Todd. I've filed HDFS-3033 to address these failures. > 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