hudi-bot opened a new issue, #16048:
URL: https://github.com/apache/hudi/issues/16048

   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
   
    
   
   ## JIRA info
   
   - Link: https://issues.apache.org/jira/browse/HUDI-6420
   - Type: Bug
   - Fix version(s):
     - 1.1.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to