HBASE-23361 Limit two decimals in total average load (#897)
Signed-off-by: GuangxuCheng <guangxucheng@gmail.com> Signed-off-by: Xu Cang <xucang@apache.org>
This commit is contained in:
parent
bc8f1210ff
commit
3e21bcf6d4
@ -151,7 +151,7 @@ if (master.getServerManager() != null) {
|
|||||||
<td><% totalTables %></td>
|
<td><% totalTables %></td>
|
||||||
<td><% totalRequests %></td>
|
<td><% totalRequests %></td>
|
||||||
<td><% totalRegions %></td>
|
<td><% totalRegions %></td>
|
||||||
<td><% master.getServerManager().getAverageLoad() %></td>
|
<td><% StringUtils.limitDecimalTo2(master.getServerManager().getAverageLoad()) %></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</%def>
|
</%def>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user