You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Josh Elser (Jira)" <ji...@apache.org> on 2020/11/12 21:04:00 UTC
[jira] [Created] (HBASE-25278) Add option to toggle CACHE_BLOCKS in
count.rb
Josh Elser created HBASE-25278:
----------------------------------
Summary: Add option to toggle CACHE_BLOCKS in count.rb
Key: HBASE-25278
URL: https://issues.apache.org/jira/browse/HBASE-25278
Project: HBase
Issue Type: New Feature
Components: shell
Reporter: Josh Elser
Assignee: Josh Elser
Fix For: 3.0.0-alpha-1, 2.4.0
A trick I've found myself doing a couple of times (hat-tip to [~psomogyi]) is to edit table.rb so that the `count` shell command will not instruct RegionServers to not cache any data blocks. This is a quick+dirty way to force a table to be loaded into block cache (i.e. for performance testing).
We can easily add another option to avoid having to edit the ruby files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)