HDFS-13823. NameNode UI : "Utilities -> Browse the file system -> open a file -> Head the file" is not working. Contributed by Nanda kumar.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4e197a4b Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4e197a4b Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4e197a4b Branch: refs/heads/branch-3.1 Commit: 4e197a4b461348420ea15f29c8cf34d3df6b4191 Parents: 1d748f0 Author: Arpit Agarwal <a...@apache.org> Authored: Mon Aug 13 11:35:19 2018 -0700 Committer: Arpit Agarwal <a...@apache.org> Committed: Mon Aug 13 11:36:15 2018 -0700 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/4e197a4b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js index 05f8df6..898b1f3 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/explorer.js @@ -208,7 +208,7 @@ processData: false, crossDomain: true }).always(function(data) { - $('#file-info-preview-body').val(data.responseText); + $('#file-info-preview-body').val(data); $('#file-info-tail').show(); }).fail(function(jqXHR, textStatus, errorThrown) { show_err_msg("Couldn't preview the file. " + errorThrown); --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org