HBASE-23325 [UI]rsgoup average load keep two decimals (#860)
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
This commit is contained in:
parent
0b49e3a174
commit
ca6059f4db
|
@ -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…
Reference in New Issue