[
https://issues.apache.org/jira/browse/HUDI-6420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HUDI-6420:
---------------------------------
Labels: pull-request-available (was: )
> Fixing on-demand look up in hfile reader
> ----------------------------------------
>
> Key: HUDI-6420
> URL: https://issues.apache.org/jira/browse/HUDI-6420
> Project: Apache Hudi
> Issue Type: Bug
> Components: metadata
> Reporter: sivabalan narayanan
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.14.0
>
>
> Looks like we are using seekTo() api in HfileScanner to seek to the key of
> interest. But under the hood, once the key is matched, the cursor is rewinded
> back to the starting of the data block.
> Ref:
> [https://github.com/apache/hbase/blob/cf02edbb1cea37a9a1cc4a64ff50f77a86955e5c/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileScanner.java#L51]
>
> So, we want to fix the on-demand use-case to use reseek() apis which will
> leave the cursor as is.
> https://github.com/apache/hbase/blob/cf02edbb1cea37a9a1cc4a64ff50f77a86955e5c/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileScanner.java#L66
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)