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 7C62ED829 for ; Thu, 20 Sep 2012 18:06:08 +0000 (UTC) Received: (qmail 65215 invoked by uid 500); 20 Sep 2012 18:06:08 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 65176 invoked by uid 500); 20 Sep 2012 18:06:08 -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 65167 invoked by uid 99); 20 Sep 2012 18:06:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 18:06:08 +0000 Date: Fri, 21 Sep 2012 05:06:08 +1100 (NCT) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1988750314.103961.1348164368237.JavaMail.jiratomcat@arcas> In-Reply-To: <593053447.72376.1347493027821.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HDFS-3932) NameNode Web UI broken if the rpc-address is set to the wildcard MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colin Patrick McCabe updated HDFS-3932: --------------------------------------- Attachment: HDFS-3932.007.patch * Use {{NetUtils.getConnectAddress}} * Update JavaDoc for {{NetUtils.getConnectAddress}} Testing: I ran the unit test. I also deployed this on a machine with a hostname that could be looked up (did not only resolve to 127.0.0.1), and observed that the external IP address got used to make URLs in the web UI. (Just FYI, it still displays 0.0.0.0 in some places... but that is purely cosmetic I believe. It will be fixed with HDFS-3946.) > NameNode Web UI broken if the rpc-address is set to the wildcard > ------------------------------------------------------------------- > > Key: HDFS-3932 > URL: https://issues.apache.org/jira/browse/HDFS-3932 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 1.0.3, 2.0.0-alpha > Reporter: Eli Collins > Assignee: Eli Collins > Attachments: HDFS-3932.001.patch, HDFS-3932.002.patch, HDFS-3932.003.patch, HDFS-3932.005.patch, HDFS-3932.006.patch, HDFS-3932.007.patch > > > If {{dfs.namenode.rpc-address}} is set to the wildcard some of links in the dfsnodelist.jsp and browseDirectory.jsp pages are broken because the nnaddr field is passed verbatim (eg nnaddr=0.0.0.0:8021). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira