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/1d25b608 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1d25b608 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1d25b608 Branch: refs/heads/HBASE-19064 Commit: 1d25b60831b8cc8f7ad5fd366f1867de5c20d2f3 Parents: db131be Author: haxiaolin <haxiao...@xiaomi.com> Authored: Fri Mar 2 11:21:12 2018 +0800 Committer: tedyu <yuzhih...@gmail.com> Committed: Fri Mar 2 09:00:28 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/1d25b608/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>