HBASE-9656 Remove decimal places from Requests Per Second stats (James Kinley via JD)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1526755 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7cb75d865e
commit
20df90d8ee
|
@ -108,7 +108,7 @@ Arrays.sort(serverNames);
|
|||
<tr>
|
||||
<td><& serverNameLink; serverName=serverName; serverLoad = sl; &></td>
|
||||
<td><% new Date(startcode) %></td>
|
||||
<td><% requestsPerSecond %></td>
|
||||
<td><% String.format("%.0f", requestsPerSecond) %></td>
|
||||
<td><% numRegionsOnline %></td>
|
||||
</tr>
|
||||
<%java>
|
||||
|
@ -178,7 +178,7 @@ if (sl != null) {
|
|||
</%java>
|
||||
<tr>
|
||||
<td><& serverNameLink; serverName=serverName; serverLoad = sl; &></td>
|
||||
<td><% sl.getRequestsPerSecond() %></td>
|
||||
<td><% String.format("%.0f", sl.getRequestsPerSecond()) %></td>
|
||||
<td><% sl.getReadRequestsCount() %></td>
|
||||
<td><% sl.getWriteRequestsCount() %></td>
|
||||
</tr>
|
||||
|
|
|
@ -79,7 +79,7 @@ java.lang.management.ManagementFactory;
|
|||
<th>Slow HLog Append Count</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><% mWrap.getRequestsPerSecond() %></td>
|
||||
<td><% String.format("%.0f", mWrap.getRequestsPerSecond()) %></td>
|
||||
<td><% mWrap.getNumOnlineRegions() %></td>
|
||||
<td><% mWrap.getPercentFileLocal() %></td>
|
||||
<td><% 0 %></td>
|
||||
|
@ -146,7 +146,7 @@ MetricsRegionServerWrapper mWrap;
|
|||
<th>Write Request Count</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><% mWrap.getRequestsPerSecond() %></td>
|
||||
<td><% String.format("%.0f", mWrap.getRequestsPerSecond()) %></td>
|
||||
<td><% mWrap.getReadRequestsCount() %></td>
|
||||
<td><% mWrap.getWriteRequestsCount() %></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue