diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html index f1cf482a3fa..37fcb928121 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html @@ -132,6 +132,7 @@
  • Active
  • Standby
  • Safe mode
  • +
  • Disabled
  • Unavailable
  • diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js index a0b0128dcbb..6779b6155fa 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js @@ -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 = ""; diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css index f9230850634..43112af044b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css @@ -53,6 +53,11 @@ content: "\e090"; } +.federationhealth-namenode-disabled:before { + color: #eea236; + content: "\e136"; +} + .federationhealth-namenode-legend { list-style-type: none; text-align: right;