HBASE-23325 [UI]rsgoup average load keep two decimals (#860)
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
This commit is contained in:
parent
bb83a09d15
commit
f905bb32c3
@ -37,6 +37,7 @@ ServerManager serverManager;
|
||||
org.apache.hadoop.hbase.master.ServerManager;
|
||||
org.apache.hadoop.hbase.net.Address;
|
||||
org.apache.hadoop.hbase.rsgroup.RSGroupInfo;
|
||||
org.apache.hadoop.util.StringUtils;
|
||||
org.apache.hadoop.util.StringUtils.TraditionalBinaryPrefix;
|
||||
</%import>
|
||||
<%java>
|
||||
@ -139,7 +140,7 @@ if (master.getServerManager() != null) {
|
||||
<td><% tables %></td>
|
||||
<td><% requestsPerSecond %></td>
|
||||
<td><% numRegionsOnline %></td>
|
||||
<td><% avgLoad %></td>
|
||||
<td><% StringUtils.limitDecimalTo2(avgLoad) %></td>
|
||||
</tr>
|
||||
<%java>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user