From ddc867ceb9a76986e8379361753598cc48024376 Mon Sep 17 00:00:00 2001 From: Haohui Mai Date: Thu, 23 Jul 2015 10:25:32 -0700 Subject: [PATCH] HDFS-8816. Improve visualization for the Datanode tab in the NN UI. Contributed by Haohui Mai. --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 + hadoop-hdfs-project/hadoop-hdfs/pom.xml | 1 + .../src/main/webapps/hdfs/dfshealth.html | 44 ++++++++-------- .../src/main/webapps/hdfs/dfshealth.js | 46 +++++++++++++++-- .../src/main/webapps/static/hadoop.css | 51 +++++++++++++++++++ .../src/main/webapps/static/moment.min.js | 7 +++ 6 files changed, 126 insertions(+), 25 deletions(-) create mode 100644 hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/moment.min.js diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index cf03d3c8a36..e7af2cbeab4 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -760,6 +760,8 @@ Release 2.8.0 - UNRELEASED HDFS-8822. Add SSD storagepolicy tests in TestBlockStoragePolicy# testDefaultPolicies (vinayakumarb) + HDFS-8816. Improve visualization for the Datanode tab in the NN UI. (wheat9) + OPTIMIZATIONS HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than diff --git a/hadoop-hdfs-project/hadoop-hdfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs/pom.xml index db38851264c..145a8cd6308 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/pom.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/pom.xml @@ -386,6 +386,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> src/contrib/** src/site/resources/images/* src/main/webapps/static/bootstrap-3.0.2/** + src/main/webapps/static/moment.min.js src/main/webapps/static/dust-full-2.0.0.min.js src/main/webapps/static/dust-helpers-1.1.1.min.js src/main/webapps/static/jquery-1.10.2.min.js 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 8cdff8499ac..6b48be7c247 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 @@ -280,6 +280,14 @@