You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2021/01/02 19:23:20 UTC
[hbase] branch master updated: HBASE-24751 Display Task completion
time and/or processing duration on Web UI (#2815)
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 8b9a074 HBASE-24751 Display Task completion time and/or processing duration on Web UI (#2815)
8b9a074 is described below
commit 8b9a074bf74d2449a57bad71a1655499b4704d9d
Author: GeorryHuang <21...@qq.com>
AuthorDate: Sun Jan 3 03:22:36 2021 +0800
HBASE-24751 Display Task completion time and/or processing duration on Web UI (#2815)
Signed-off-by: stack <st...@apache.org>
---
.../jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon
index f700d39..8d09027 100644
--- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon
+++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon
@@ -105,6 +105,7 @@ String parent = "";
<th>Description</th>
<th>State</th>
<th>Status</th>
+ <th>Completion Time</th>
</tr>
<%for MonitoredTask task : tasks %>
<tr class="<& stateCss; state = task.getState() &>">
@@ -116,6 +117,7 @@ String parent = "";
<td><% task.getStatus() %>
(since <% StringUtils.formatTimeDiff(now, task.getStatusTime()) %>
ago)</td>
+ <td><% task.getCompletionTimestamp() < 0 ? task.getState() : new Date(task.getCompletionTimestamp()) %></td>
</tr>
</%for>
</table>