HDFS-13499. RBF: Show disabled name services in the UI. Contributed by Inigo Goiri.
This commit is contained in:
parent
93979db840
commit
0a293de00d
|
@ -132,6 +132,7 @@
|
|||
<li class="federationhealth-namenode-icon federationhealth-namenode-active">Active</li>
|
||||
<li class="federationhealth-namenode-icon federationhealth-namenode-standby">Standby</li>
|
||||
<li class="federationhealth-namenode-icon federationhealth-namenode-safemode">Safe mode</li>
|
||||
<li class="federationhealth-namenode-icon federationhealth-namenode-disabled">Disabled</li>
|
||||
<li class="federationhealth-namenode-icon federationhealth-namenode-unavailable">Unavailable</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -130,6 +130,9 @@
|
|||
} else if (nodes[i].state === "UNAVAILABLE") {
|
||||
n.title = capitalise(n.state);
|
||||
n.iconState = "unavailable";
|
||||
} else if (nodes[i].state === "DISABLED") {
|
||||
n.title = capitalise(n.state);
|
||||
n.iconState = "disabled";
|
||||
}
|
||||
if (n.namenodeId === "null") {
|
||||
n.namenodeId = "";
|
||||
|
|
|
@ -53,6 +53,11 @@
|
|||
content: "\e090";
|
||||
}
|
||||
|
||||
.federationhealth-namenode-disabled:before {
|
||||
color: #eea236;
|
||||
content: "\e136";
|
||||
}
|
||||
|
||||
.federationhealth-namenode-legend {
|
||||
list-style-type: none;
|
||||
text-align: right;
|
||||
|
|
Loading…
Reference in New Issue