From 71159f9540d5a2aac6fb904649639f75e457e94d Mon Sep 17 00:00:00 2001 From: Stephen O'Donnell Date: Wed, 12 Jun 2019 10:28:47 -0700 Subject: [PATCH] HDFS-13231. Extend visualization for Decommissioning, Maintenance Mode under Datanode tab in the NameNode UI. Contributed by Stephen O'Donnell. Signed-off-by: Wei-Chiu Chuang (cherry picked from commit 50de0874d0f14526bfb7052f2a2e64543dc0fcbc) --- .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 4 ++++ .../hadoop-hdfs/src/main/webapps/static/hadoop.css | 11 ++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) 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 fd2668b4699..0c7d3b81f00 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 @@ -301,8 +301,12 @@ + diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/hadoop.css b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/hadoop.css index 6fc0289af23..b3e79e2d507 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/hadoop.css +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/hadoop.css @@ -235,8 +235,13 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand { content: "\e013"; } +.dfshealth-node-decommissioning:before { + color: #5fa341; + content: "\e090"; +} + .dfshealth-node-decommissioned:before { - color: #bc5f04; + color: #eea236; content: "\e090"; } @@ -246,7 +251,7 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand { } .dfshealth-node-entering-maintenance:before { - color: #eea236; + color: #5fa341; content: "\e136"; } @@ -256,7 +261,7 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand { } .dfshealth-node-down-decommissioned:before { - color: #2e6da6; + color: #c7254e; content: "\e017"; }