You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2016/01/16 04:27:33 UTC

[02/10] hbase git commit: Amend HBASE-14976 Add RPC call queues to the web ui

Amend HBASE-14976 Add RPC call queues to the web ui

Compilation fix for Hadoop 1 build


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

Branch: refs/heads/0.98
Commit: 21e9074a90964ff374cf95897eae349ba21073a3
Parents: aad0fa9
Author: Andrew Purtell <ap...@apache.org>
Authored: Fri Jan 15 17:05:40 2016 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Fri Jan 15 17:05:44 2016 -0800

----------------------------------------------------------------------
 .../apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/21e9074a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon
index 3d17e6b..d6ee53e 100644
--- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon
+++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/ServerMetricsTmpl.jamon
@@ -197,8 +197,7 @@ MetricsHBaseServerWrapper mServerWrap;
 <tr>
     <td><% mWrap.getCompactionQueueSize() %></td>
     <td><% mWrap.getFlushQueueSize() %></td>
-    <td><% StringUtils.TraditionalBinaryPrefix.long2String(mServerWrap.getTotalQueueSize(),
-      "", 1) %></td>
+    <td><% StringUtils.humanReadableInt(mServerWrap.getTotalQueueSize()) %></td>
 </tr>
 </table>
 </%def>