HDFS-6230. Expose upgrade status through NameNode web UI. Contributed by Mit Desai.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1594040 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Haohui Mai 2014-05-12 18:02:24 +00:00
parent e9c6840b24
commit 09002d9341
2 changed files with 8 additions and 1 deletions

View File

@ -348,6 +348,9 @@ Release 2.5.0 - UNRELEASED
HDFS-6328. Clean up dead code in FSDirectory. (wheat9)
HDFS-6230. Expose upgrade status through NameNode web UI.
(Mit Desai via wheat9)
OPTIMIZATIONS
HDFS-6214. Webhdfs has poor throughput for files >2GB (daryn)

View File

@ -72,7 +72,7 @@
<script type="text/x-dust-template" id="tmpl-dfshealth">
{#nn}
{@if cond="{DistinctVersionCount} > 1 || '{RollingUpgradeStatus}'.length"}
{@if cond="{DistinctVersionCount} > 1 || '{RollingUpgradeStatus}'.length || !'{UpgradeFinalized}'"}
<div class="alert alert-dismissable alert-info">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
@ -92,6 +92,10 @@
{key} ({value}) {@sep},{/sep}
{/DistinctVersions}
{/if}
{^UpgradeFinalized}
<p>Upgrade in progress. Not yet finalized.</p>
{/UpgradeFinalized}
</div>
{/if}