[
https://issues.apache.org/jira/browse/HDFS-5949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902420#comment-13902420
]
Hudson commented on HDFS-5949:
------------------------------
SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1699 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1699/])
HDFS-5949. New Namenode UI when trying to download a file, the browser doesn't
know the file name.Contributed by Haohui Mai (brandonli:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1568536)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js
> 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)