hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yjzhan...@apache.org
Subject hadoop git commit: HDFS-10703. HA NameNode Web UI should show last checkpoint time. (John Zhuge via Yongjun Zhang)
Date Sat, 30 Jul 2016 06:46:45 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 0fc838540 -> f5bc6dd47


HDFS-10703. HA NameNode Web UI should show last checkpoint time. (John Zhuge via Yongjun Zhang)

(cherry picked from commit 8d32bd884d53948728b77de14531b3be196f4bc7)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f5bc6dd4
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f5bc6dd4
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f5bc6dd4

Branch: refs/heads/branch-2
Commit: f5bc6dd478b49b9d235c8e51180142f356452e37
Parents: 0fc8385
Author: Yongjun Zhang <yzhang@cloudera.com>
Authored: Fri Jul 29 23:20:14 2016 -0700
Committer: Yongjun Zhang <yzhang@cloudera.com>
Committed: Fri Jul 29 23:39:38 2016 -0700

----------------------------------------------------------------------
 .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html              | 3 +++
 .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js                | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f5bc6dd4/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 4fa2e4c..b0db3a1 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
@@ -182,6 +182,9 @@
   <tr><th>Block Deletion Start Time</th><td>{BlockDeletionStartTime|date_tostring}</td></tr>
 {/fs}
 
+{#fsn}
+  <tr><th>Last Checkpoint Time</th><td>{@if cond="{LastCheckpointTime}
=== 0"}Never{:else}{LastCheckpointTime|date_tostring}{/if}</td></tr>
+{/fsn}
 </table>
 
 <div class="page-header"><h1>NameNode Journal Status</h1></div>

http://git-wip-us.apache.org/repos/asf/hadoop/blob/f5bc6dd4/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
index e2908c0..f230b0f 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js
@@ -36,6 +36,7 @@
       {"name": "nn",      "url": "/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo"},
       {"name": "nnstat",  "url": "/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus"},
       {"name": "fs",      "url": "/jmx?qry=Hadoop:service=NameNode,name=FSNamesystemState"},
+      {"name": "fsn",     "url": "/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem"},
       {"name": "blockstats",      "url": "/jmx?qry=Hadoop:service=NameNode,name=BlockStats"},
       {"name": "mem",     "url": "/jmx?qry=java.lang:type=Memory"}
     ];


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


Mime
View raw message