From 686fcd4db34dfe8642ff4b25fffbc73e42217f30 Mon Sep 17 00:00:00 2001 From: Surendra Singh Lilhore Date: Mon, 24 Dec 2018 11:02:36 +0530 Subject: [PATCH] HDFS-14046. In-Maintenance ICON is missing in datanode info page. Contributed by Ranith Sardar. --- .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 1 + .../hadoop-hdfs/src/main/webapps/static/hadoop.css | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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 964b056a6fa..ff304947a74 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 @@ -302,6 +302,7 @@
  • Down
  • Decommissioned
  • Decommissioned & dead
  • +
  • In Maintenance
  • In Maintenance & dead
  • 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 341e1f83e20..6fc0289af23 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 @@ -240,6 +240,16 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand { content: "\e090"; } +.dfshealth-node-in-maintenance:before { + color: #eea236; + content: "\e136"; +} + +.dfshealth-node-entering-maintenance:before { + color: #eea236; + content: "\e136"; +} + .dfshealth-node-down:before { color: #c7254e; content: "\e101"; @@ -251,7 +261,7 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand { } .dfshealth-node-down-maintenance:before { - color: #eea236; + color: #c7254e; content: "\e136"; }