From 8e63fa98eabac55bdb2254306584ad1e759c79eb Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Mon, 5 Dec 2016 18:13:53 -0800 Subject: [PATCH] HDFS-10581. Hide redundant table on NameNode WebUI when no nodes are decomissioning. Contributed by Weiwei Yang. --- .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 4 ++++ 1 file changed, 4 insertions(+) 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 b0db3a1dc1..13569fec63 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 @@ -352,6 +352,7 @@ +{?DecomNodes} @@ -370,6 +371,9 @@ {/DecomNodes}
+{:else} +No nodes are decommissioning +{/DecomNodes}