This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8fb611c1f70 HDFS-17062. HA NameNode Web UI should show last HA 
Transition time (#5791). Contributed by Zhaohui Wang.
8fb611c1f70 is described below

commit 8fb611c1f7098b5e01886937591f6642d9bbc37d
Author: wangzhaohui <32935220+wzhallri...@users.noreply.github.com>
AuthorDate: Fri Jun 30 11:26:34 2023 +0800

    HDFS-17062. HA NameNode Web UI should show last HA Transition time (#5791). 
Contributed by Zhaohui Wang.
    
    Reviewed-by: Shilun Fan <slfan1...@apache.org>
    Signed-off-by: Ayush Saxena <ayushsax...@apache.org>
---
 hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 3 +++
 1 file changed, 3 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 889bc8aff51..4ba6139ad33 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
@@ -196,6 +196,9 @@
 {#fsn}
   <tr><th>Last Checkpoint Time</th><td>{@if cond="{LastCheckpointTime} === 
0"}Never{:else}{LastCheckpointTime|date_tostring}{/if}</td></tr>
 {/fsn}
+{#nnstat}
+  <tr><th>Last HA Transition Time</th><td>{@if cond="{LastHATransitionTime} 
=== 0"}Never{:else}{LastHATransitionTime|date_tostring}{/if}</td></tr>
+{/nnstat}
 {#ecstat}
   <tr><th>Enabled Erasure Coding Policies</th><td>{EnabledEcPolicies}</td></tr>
 {/ecstat}


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to