From cc7cc5a4d9e789d4736ea52c57d156464ce35b29 Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Tue, 21 Jan 2014 22:55:35 +0000 Subject: [PATCH] HDFS-5748. Too much information shown in the dfs health page. Contributed by Haohui Mai git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1560215 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 + .../src/main/webapps/hdfs/dfshealth.html | 417 +++++++++--------- .../src/main/webapps/hdfs/dfshealth.js | 172 +++++--- .../src/main/webapps/static/hadoop.css | 20 + 4 files changed, 338 insertions(+), 274 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 65bae76dd7e..18d6ceb8366 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -778,6 +778,9 @@ Release 2.4.0 - UNRELEASED HDFS-5800. Fix a typo in DFSClient.renewLease(). (Kousuke Saruta via szetszwo) + HDFS-5748. Too much information shown in the dfs health page. + (Haohui Mai via brandonli) + BREAKDOWN OF HDFS-2832 SUBTASKS AND RELATED JIRAS HDFS-4985. Add storage type to the protocol and expose it in block report diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html index 2a6b90601b9..461031a7937 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html @@ -23,25 +23,53 @@ Namenode information + + + +
+ +
+
+ +
+
+ +
+
+
+
+
+
+
-
-

Hadoop, 2013.

- +
+

Hadoop, 2014.

+ +
-
-
Snapshot Summary
-
- {#fs.SnapshotStats} - - - - - - - - - - -
Snapshottable directoriesSnapshotted directories
{SnapshottableDirectories}{Snapshots}
- {/fs.SnapshotStats} -
-
-
+ -{#startup} -
-
Startup Progress
-
-

Elapsed Time: {elapsedTime|fmt_time}, Percent Complete: {percentComplete|fmt_percentage}

- - - + + +