HBASE-20114 Fix IllegalFormatConversionException in rsgroup.jsp

Signed-off-by: tedyu <yuzhih...@gmail.com>


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

Branch: refs/heads/HBASE-19397-branch-2
Commit: 4ec2eeef63ba283047887c0acf3cba623c19e3af
Parents: 9927c2e
Author: haxiaolin <haxiao...@xiaomi.com>
Authored: Fri Mar 2 11:21:12 2018 +0800
Committer: tedyu <yuzhih...@gmail.com>
Committed: Fri Mar 2 09:01:05 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/4ec2eeef/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 7b7e227..43753a5 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><%= String.format("%.0f", 
sl.getRequestCountPerSecond()) %></td>
+                     <td><%= sl.getRequestCountPerSecond() %></td>
                      <td><%= readRequestCount %></td>
                      <td><%= writeRequestCount %></td>
                    </tr>

Reply via email to