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

Amending-Author: Andrew Purtell <[email protected]>


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

Branch: refs/heads/0.98
Commit: 6283ec730596b2e47666e8bef3a0fdb0442f55e6
Parents: b8e7c61
Author: Andrew Purtell <[email protected]>
Authored: Thu Aug 7 15:11:44 2014 -0700
Committer: Andrew Purtell <[email protected]>
Committed: Thu Aug 7 15:16:07 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/6283ec73/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 a042318..d0bf9ea 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
@@ -281,7 +281,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 <% snapshot.getMax() %> only 
(hbase.ui.blockcache.by.file.max)</p> 
+<p><b>Statistics below is based on sampling first <% snapshot.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