HDFS-5949. New Namenode UI when trying to download a file, the browser doesn't know the file name.Contributed by Haohui Mai
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1568536 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a57550914f
commit
a0a5edb6f3
|
@ -456,6 +456,9 @@ Release 2.4.0 - UNRELEASED
|
|||
HDFS-5948. TestBackupNode flakes with port in use error. (Haohui Mai
|
||||
via Arpit Agarwal)
|
||||
|
||||
HDFS-5949. New Namenode UI when trying to download a file, the browser
|
||||
doesn't know the file name. (Haohui Mai via brandonli)
|
||||
|
||||
Release 2.3.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
$('#file-info-tail').hide();
|
||||
$('#file-info-title').text("File information - " + path);
|
||||
|
||||
var download_url = '/webhdfs/v1' + abs_path + '/?op=OPEN';
|
||||
var download_url = '/webhdfs/v1' + abs_path + '?op=OPEN';
|
||||
|
||||
$('#file-info-download').attr('href', download_url);
|
||||
$('#file-info-preview').click(function() {
|
||||
|
|
Loading…
Reference in New Issue