HDFS-9357. NN UI renders icons of decommissioned DN incorrectly. Contributed by Surendra Singh Lilhore.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0eed886a Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0eed886a Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0eed886a Branch: refs/heads/HDFS-7240 Commit: 0eed886a165f5a0850ddbfb1d5f98c7b5e379fb3 Parents: b9d25c3 Author: Haohui Mai <whe...@apache.org> Authored: Wed Nov 4 09:16:43 2015 -0800 Committer: Haohui Mai <whe...@apache.org> Committed: Wed Nov 4 09:16:43 2015 -0800 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 4 ++-- .../hadoop-hdfs/src/main/webapps/static/hadoop.css | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/0eed886a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 530ed2d..bdcc1fc 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -2231,6 +2231,9 @@ Release 2.8.0 - UNRELEASED HDFS-9351. checkNNStartup() need to be called when fsck calls FSNamesystem.getSnapshottableDirs(). (Xiao Chen via Yongjun Zhang) + HDFS-9357. NN UI renders icons of decommissioned DN incorrectly. + (Surendra Singh Lilhore via wheat9) + Release 2.7.3 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/0eed886a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html ---------------------------------------------------------------------- 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 e46ce7f..08199fc 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 @@ -285,8 +285,8 @@ <ul class="dfshealth-node-legend"> <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-decommisioned">Decommisioned</li> - <li class="dfshealth-node-icon dfshealth-node-down-decommisioned">Decommissioned & dead</li> + <li class="dfshealth-node-icon dfshealth-node-decommissioned">Decommissioned</li> + <li class="dfshealth-node-icon dfshealth-node-down-decommissioned">Decommissioned & dead</li> </ul> </div> <div class="page-header"><h1><small>In operation</small></h1></div> http://git-wip-us.apache.org/repos/asf/hadoop/blob/0eed886a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/hadoop.css ---------------------------------------------------------------------- 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 58c3cb5..2ed5f29 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,7 +235,7 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand { content: "\e013"; } -.dfshealth-node-decommisioned:before { +.dfshealth-node-decommissioned:before { color: #eea236; content: "\e136"; } @@ -245,7 +245,7 @@ header.bs-docs-nav, header.bs-docs-nav .navbar-brand { content: "\e101"; } -.dfshealth-node-down-decommisioned:before { +.dfshealth-node-down-decommissioned:before { color: #2e6da6; content: "\e017"; }