HBASE-23859 Modify "Block locality" of RegionServer Web UI to human readable percentage (#1176)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
This commit is contained in:
parent
0140d3f3fe
commit
c4fb1cd234
|
@ -90,8 +90,8 @@ org.apache.hadoop.hbase.io.util.MemorySizeUtil;
|
|||
<tr>
|
||||
<td><% String.format("%.0f", mWrap.getRequestsPerSecond()) %></td>
|
||||
<td><% mWrap.getNumOnlineRegions() %></td>
|
||||
<td><% mWrap.getPercentFileLocal() %></td>
|
||||
<td><% mWrap.getPercentFileLocalSecondaryRegions() %></td>
|
||||
<td><% String.format("%.3f",mWrap.getPercentFileLocal()) %><% "%" %></td>
|
||||
<td><% String.format("%.3f",mWrap.getPercentFileLocalSecondaryRegions()) %><% "%" %></td>
|
||||
<td><% mWrap.getNumWALSlowAppend() %></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue