[
https://issues.apache.org/jira/browse/HBASE-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113877#comment-13113877
]
Hudson commented on HBASE-4434:
-------------------------------
Integrated in HBase-0.92 #18 (See
[https://builds.apache.org/job/HBase-0.92/18/])
HBASE-4434: Don't do HFile Scanner next() unless the next KV is needed
stack :
Files :
* /hbase/branches/0.92/CHANGES.txt
*
/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileScanner.java
*
/hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/regionserver/TestBlocksRead.java
> seek optimization: don't do eager HFile Scanner next() unless the next KV is
> needed
> -----------------------------------------------------------------------------------
>
> Key: HBASE-4434
> URL: https://issues.apache.org/jira/browse/HBASE-4434
> Project: HBase
> Issue Type: Improvement
> Reporter: Kannan Muthukkaruppan
> Assignee: Kannan Muthukkaruppan
> Fix For: 0.92.0
>
> Attachments: HBASE-4434.txt
>
>
> When a seek/reseek is done on StoreFileScanner, in addition to setting the
> current KV, it also does a HFileScanner level next() ahead of time even if
> the next KV is never actually required. This inefficiency can potentially
> result in additional disk seeks and sub-optimal use of the block cache
> (primarily for cases where the KVs are large and each occupies an HFile block
> of its own).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira