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:
Karthik Palanisamy 2019-12-04 18:19:06 -08:00 committed by binlijin
parent bc8f1210ff
commit 3e21bcf6d4
1 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ if (master.getServerManager() != null) {
<td><% totalTables %></td>
<td><% totalRequests %></td>
<td><% totalRegions %></td>
<td><% master.getServerManager().getAverageLoad() %></td>
<td><% StringUtils.limitDecimalTo2(master.getServerManager().getAverageLoad()) %></td>
</tr>
</table>
</%def>