Repository: hadoop Updated Branches: refs/heads/branch-3.1 1d748f026 -> 4e197a4b4 refs/heads/trunk b94c8874e -> f760a544a
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/f760a544 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f760a544 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f760a544 Branch: refs/heads/trunk Commit: f760a544a74d3341f665f03c83402d65c5c2a8cd Parents: b94c887 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:35:19 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/f760a544/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