HBASE-20114 Fix IllegalFormatConversionException in rsgroup.jsp - revert 
premature commit


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9e9b347d
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9e9b347d
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9e9b347d

Branch: refs/heads/HBASE-19397-branch-2
Commit: 9e9b347d667e1fc6165c9f8ae5ae7052147e8895
Parents: 4ec2eee
Author: tedyu <yuzhih...@gmail.com>
Authored: Fri Mar 2 12:07:16 2018 -0800
Committer: tedyu <yuzhih...@gmail.com>
Committed: Fri Mar 2 12:07:16 2018 -0800

----------------------------------------------------------------------
 hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/9e9b347d/hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp
----------------------------------------------------------------------
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 43753a5..7b7e227 100644
--- a/hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp
+++ b/hbase-server/src/main/resources/hbase-webapps/master/rsgroup.jsp
@@ -254,7 +254,7 @@
             %>
                    <tr>
                      <td><a href="<%= url %>"><%= serverName.getServerName() 
%></a></td>
-                     <td><%= sl.getRequestCountPerSecond() %></td>
+                     <td><%= String.format("%.0f", 
sl.getRequestCountPerSecond()) %></td>
                      <td><%= readRequestCount %></td>
                      <td><%= writeRequestCount %></td>
                    </tr>

Reply via email to