Skip to content

Commit

Permalink
HBASE-23361 Limit two decimals in total average load (apache#897)
Browse files Browse the repository at this point in the history
Signed-off-by: GuangxuCheng  <guangxucheng@gmail.com>
Signed-off-by: Xu Cang <xucang@apache.org>
  • Loading branch information
Karthik Palanisamy authored and binlijin committed Dec 5, 2019
1 parent 7cb7946 commit 4461443
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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>
Expand Down Expand Up @@ -390,4 +390,4 @@ if (master.getServerManager() != null) {
String rsGroupName;
</%args>
<a href=rsgroup.jsp?name=<% rsGroupName %>><% rsGroupName %></a>
</%def>
</%def>

0 comments on commit 4461443

Please sign in to comment.