You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Weichen Ye (JIRA)" <ji...@apache.org> on 2014/05/11 00:08:54 UTC

[jira] [Commented] (HBASE-10884) [REST] Do not disable block caching when scanning

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

Weichen Ye commented on HBASE-10884:
------------------------------------

I meet the same problem...

> [REST] Do not disable block caching when scanning
> -------------------------------------------------
>
>                 Key: HBASE-10884
>                 URL: https://issues.apache.org/jira/browse/HBASE-10884
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.98.1, 0.99.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>             Fix For: 0.99.0, 0.98.2
>
>         Attachments: HBASE-10884.patch
>
>
> The REST gateway pessimistically disables block caching when issuing Scans to the cluster, using Scan#setCacheBlocks(false) in ScannerResultGenerator. It does not do this when issuing Gets on behalf of HTTP clients in RowResultGenerator. This is an old idea now, the reasons for doing so lost sometime back in the era when HBase walked the earth with dinosaurs (< 0.20). We probably should not be penalizing REST scans in this way. 



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