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 9E08310986 for ; Sat, 15 Feb 2014 16:39:22 +0000 (UTC) Received: (qmail 91931 invoked by uid 500); 15 Feb 2014 16:39:20 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 91869 invoked by uid 500); 15 Feb 2014 16:39: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 91854 invoked by uid 99); 15 Feb 2014 16:39:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Feb 2014 16:39:20 +0000 Date: Sat, 15 Feb 2014 16:39:20 +0000 (UTC) From: "Vinayakumar B (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5949) New Namenode UI when trying to download a file, the browser doesn't know the file name 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-5949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902459#comment-13902459 ] Vinayakumar B commented on HDFS-5949: ------------------------------------- bq. "New Namenode UI when trying to download a file, the browser doesn't know the file name.Contributed by Haohui Mai" [~brandonli] I think by mistake you put "Haohui Mai" as Contributor CHANGES.txt , should be "Travis Thompson" right? > New Namenode UI when trying to download a file, the browser doesn't know the file name > -------------------------------------------------------------------------------------- > > Key: HDFS-5949 > URL: https://issues.apache.org/jira/browse/HDFS-5949 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 2.3.0 > Reporter: Travis Thompson > Assignee: Travis Thompson > Priority: Minor > Fix For: 2.4.0 > > Attachments: HDFS-5949-1.patch > > > When trying to download a file though the new Namenode UI FS Browser, the browser doesn't know the name of the file because of a trailing slash. For instance, this url is broken and Firefox picks a random name for: > {noformat} > http://dn.example.com:70/webhdfs/v1/user/tthompso/test_examples/wordcount_in/core-site.xml/?op=OPEN&delegation=TOKEN&namenoderpcaddress=namenode.example.com:9000&offset=0 > {noformat} > But if you remove the trailing / on the file name, Firefox correctly picks up the name of the file: > {noformat} > http://dn.example.com:70/webhdfs/v1/user/tthompso/test_examples/wordcount_in/core-site.xml?op=OPEN&delegation=TOKEN&namenoderpcaddress=namenode.example.com:9000&offset=0 > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)