You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2019/02/25 15:26:11 UTC
[hbase] branch branch-2.2 updated: HBASE-21942 [UI] requests per
second is incorrect in rsgroup page(rsgroup.jsp)
This is an automated email from the ASF dual-hosted git repository.
psomogyi pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.2 by this push:
new 450ac38 HBASE-21942 [UI] requests per second is incorrect in rsgroup page(rsgroup.jsp)
450ac38 is described below
commit 450ac38d4687074e79716257a644078f1c9e1969
Author: xuqinya <xu...@163.com>
AuthorDate: Fri Feb 22 10:03:24 2019 +0800
HBASE-21942 [UI] requests per second is incorrect in rsgroup page(rsgroup.jsp)
Signed-off-by: Peter Somogyi <ps...@apache.org>
---
hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp b/hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp
index 0b2b581..d105e10 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp
@@ -147,7 +147,7 @@
<th>Num. Regions</th>
</tr>
<% int totalRegions = 0;
- int totalRequests = 0;
+ int totalRequestsPerSecond = 0;
int inconsistentNodeNum = 0;
String masterVersion = VersionInfo.getVersion();
for (Address server: rsGroupServers) {
@@ -165,7 +165,7 @@
requestsPerSecond = sl.getRequestCountPerSecond();
numRegionsOnline = sl.getRegionMetrics().size();
totalRegions += sl.getRegionMetrics().size();
- totalRequests += sl.getRequestCount();
+ totalRequestsPerSecond += sl.getRequestCountPerSecond();
lastContact = (System.currentTimeMillis() - sl.getReportTimestamp())/1000;
}
long startcode = serverName.getStartcode();
@@ -198,7 +198,7 @@
<%} else { %>
<td></td>
<%} %>
- <td><%= totalRequests %></td>
+ <td><%= totalRequestsPerSecond %></td>
<td><%= totalRegions %></td>
</tr>
</table>