HBASE-11697 Improve the 'Too many blocks' message on UI blockcache status page 
(Mikhail Antonov)


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

Branch: refs/heads/branch-1
Commit: 0c1daa6efdac8338c268da486de446f2c55d15ce
Parents: 2fea85a
Author: Andrew Purtell <[email protected]>
Authored: Thu Aug 7 15:11:44 2014 -0700
Committer: Andrew Purtell <[email protected]>
Committed: Thu Aug 7 15:13:08 2014 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0c1daa6e/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon
 
b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon
index 702122a..162ac46 100644
--- 
a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon
+++ 
b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/regionserver/BlockCacheTmpl.jamon
@@ -305,7 +305,7 @@ are combined counts. Request count is sum of hits and 
misses.</p>
   }
 </%java>
 <%if cbsbf.isFull() %>
-<p><b>Too many blocks!</b> Listing out the first <% cbsbfSnapshot.getMax() %> 
only (hbase.ui.blockcache.by.file.max)</p> 
+<p><b>Statistics below is based on sampling first <% cbsbfSnapshot.getMax() %> 
blocks only</b> (hbase.ui.blockcache.by.file.max)</p> 
 </%if>
 <table id="blocks_summary" class="table table-striped">
     <tr>

Reply via email to