hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6506) Setting CACHE_BLOCKS to false in an hbase shell scan doesn't work
Date Wed, 21 May 2014 05:51:41 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004388#comment-14004388
] 

Hudson commented on HBASE-6506:
-------------------------------

SUCCESS: Integrated in HBase-TRUNK #5135 (See [https://builds.apache.org/job/HBase-TRUNK/5135/])
HBASE-6506 Setting CACHE_BLOCKS to false in an hbase shell scan doesn't work (stack: rev 1595937)
* /hbase/trunk/hbase-shell/src/main/ruby/hbase/table.rb


> Setting CACHE_BLOCKS to false in an hbase shell scan doesn't work
> -----------------------------------------------------------------
>
>                 Key: HBASE-6506
>                 URL: https://issues.apache.org/jira/browse/HBASE-6506
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.94.0
>            Reporter: Josh Wymer
>            Assignee: stack
>            Priority: Minor
>              Labels: cache, ruby, scan, shell
>             Fix For: 0.99.0
>
>         Attachments: 6506.txt, 6506.txt
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> I was attempting to prevent blocks from being cached by setting CACHE_BLOCKS => false
in the hbase shell when doing a scan but I kept seeing tons of evictions when I ran it. After
inspecting "table.rb" I found this line:
> cache = args["CACHE_BLOCKS"] || true
> The problem then is that if CACHE_BLOCKS is false then this expression will always return
true. Therefore, it's impossible to turn off block caching. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message