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>
|
||||||
|
@ -390,4 +390,4 @@ if (master.getServerManager() != null) {
|
||||||
String rsGroupName;
|
String rsGroupName;
|
||||||
</%args>
|
</%args>
|
||||||
<a href=rsgroup.jsp?name=<% rsGroupName %>><% rsGroupName %></a>
|
<a href=rsgroup.jsp?name=<% rsGroupName %>><% rsGroupName %></a>
|
||||||
</%def>
|
</%def>
|
||||||
|
|
Loading…
Reference in New Issue