HDFS-10581. Hide redundant table on NameNode WebUI when no nodes are decomissioning. Contributed by Weiwei Yang.
(cherry picked from commit8e63fa98ea
) (cherry picked from commit2fdae7324b
)
This commit is contained in:
parent
802a1fb2fc
commit
79f830ed22
|
@ -352,6 +352,7 @@
|
||||||
|
|
||||||
<div class="page-header"><h1><small>Decommissioning</small></h1></div>
|
<div class="page-header"><h1><small>Decommissioning</small></h1></div>
|
||||||
<small>
|
<small>
|
||||||
|
{?DecomNodes}
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -370,6 +371,9 @@
|
||||||
</tr>
|
</tr>
|
||||||
{/DecomNodes}
|
{/DecomNodes}
|
||||||
</table>
|
</table>
|
||||||
|
{:else}
|
||||||
|
No nodes are decommissioning
|
||||||
|
{/DecomNodes}
|
||||||
</small>
|
</small>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue