yihua commented on code in PR #10673:
URL: https://github.com/apache/hudi/pull/10673#discussion_r1491788224


##########
hudi-common/src/main/java/org/apache/hudi/common/bootstrap/index/HFileBootstrapIndex.java:
##########
@@ -238,7 +239,7 @@ private static HFileReader createReader(String hFilePath, 
FileSystem fileSystem)
       LOG.info("Opening HFile for reading :" + hFilePath);
       Path path = new Path(hFilePath);
       long fileSize = fileSystem.getFileStatus(path).getLen();
-      FSDataInputStream stream = fileSystem.open(path);
+      SeekableDataInputStream stream = new 
HadoopSeekableDataInputStream(fileSystem.open(path));

Review Comment:
   This will be replaced by the new storage API call which returns 
`SeekableDataInputStream` directly.  Hadoop is going to be fully removed here 
in the future.



-- 
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