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 <weichiu@apache.org>
This commit is contained in:
Stephen O'Donnell 2019-06-12 10:28:47 -07:00 committed by Wei-Chiu Chuang
parent 3b31694c35
commit 50de0874d0
2 changed files with 12 additions and 3 deletions

View File

@ -301,8 +301,12 @@
<ul class="dfshealth-node-legend"> <ul class="dfshealth-node-legend">
<li class="dfshealth-node-icon dfshealth-node-alive">In service</li> <li class="dfshealth-node-icon dfshealth-node-alive">In service</li>
<li class="dfshealth-node-icon dfshealth-node-down">Down</li> <li class="dfshealth-node-icon dfshealth-node-down">Down</li>
<li class="dfshealth-node-icon dfshealth-node-decommissioning">Decommissioning</li>
<li class="dfshealth-node-icon dfshealth-node-decommissioned">Decommissioned</li> <li class="dfshealth-node-icon dfshealth-node-decommissioned">Decommissioned</li>
<li class="dfshealth-node-icon dfshealth-node-down-decommissioned">Decommissioned &amp; dead</li> <li class="dfshealth-node-icon dfshealth-node-down-decommissioned">Decommissioned &amp; dead</li>
</ul>
<ul class="dfshealth-node-legend">
<li class="dfshealth-node-icon dfshealth-node-entering-maintenance">Entering Maintenance</li>
<li class="dfshealth-node-icon dfshealth-node-in-maintenance">In Maintenance</li> <li class="dfshealth-node-icon dfshealth-node-in-maintenance">In Maintenance</li>
<li class="dfshealth-node-icon dfshealth-node-down-maintenance">In Maintenance &amp; dead</li> <li class="dfshealth-node-icon dfshealth-node-down-maintenance">In Maintenance &amp; dead</li>
</ul> </ul>

View File

@ -235,8 +235,13 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand {
content: "\e013"; content: "\e013";
} }
.dfshealth-node-decommissioning:before {
color: #5fa341;
content: "\e090";
}
.dfshealth-node-decommissioned:before { .dfshealth-node-decommissioned:before {
color: #bc5f04; color: #eea236;
content: "\e090"; content: "\e090";
} }
@ -246,7 +251,7 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand {
} }
.dfshealth-node-entering-maintenance:before { .dfshealth-node-entering-maintenance:before {
color: #eea236; color: #5fa341;
content: "\e136"; content: "\e136";
} }
@ -256,7 +261,7 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand {
} }
.dfshealth-node-down-decommissioned:before { .dfshealth-node-down-decommissioned:before {
color: #2e6da6; color: #c7254e;
content: "\e017"; content: "\e017";
} }