HDFS-10235. Last contact for Live Nodes should be relative time. Contributed by Brahma Reddy Battula.

This commit is contained in:
Ravi Prakash 2016-04-05 13:41:19 -07:00
parent 500e5a5952
commit 0cd320a846

View File

@ -310,7 +310,7 @@
{#LiveNodes} {#LiveNodes}
<tr> <tr>
<td ng-value="{state}-{name}" class="dfshealth-node-icon dfshealth-node-{state}">{name} ({xferaddr})</td> <td ng-value="{state}-{name}" class="dfshealth-node-icon dfshealth-node-{state}">{name} ({xferaddr})</td>
<td ng-value="{lastContact}">{#helper_relative_time value="{lastContact}"/}</td> <td ng-value="{lastContact}">{lastContact}s</td>
<td ng-value="{usedPercentage}"> <td ng-value="{usedPercentage}">
<div> <div>
<div style="display:inline-block; float: left; padding-right: 10px;">{capacity|fmt_bytes}</div> <div style="display:inline-block; float: left; padding-right: 10px;">{capacity|fmt_bytes}</div>