[
https://issues.apache.org/jira/browse/HBASE-17151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15707026#comment-15707026
]
Enis Soztutar commented on HBASE-17151:
---------------------------------------
How about doing a static CacheConfig.DISABLED, and use it when creating a
reader. Doing null checks everywhere unnecessarily complicates the code.
> New API to create HFile.Reader without instantiating block cache
> -----------------------------------------------------------------
>
> Key: HBASE-17151
> URL: https://issues.apache.org/jira/browse/HBASE-17151
> Project: HBase
> Issue Type: New Feature
> Reporter: Vladimir Rodionov
> Assignee: Vladimir Rodionov
> Fix For: 2.0.0
>
> Attachments: HBASE-17151-v1.patch, HBASE-17151-v2.patch
>
>
> Currently, to create HFile.Reader instance, the CacheConfig instance is
> required (which instantiates block cache). We need API for reading HFile w/o
> block cache being involved.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)