-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-27646 Should not use pread when prefetching in HFilePreadReader #5063
Conversation
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePreadReader.java
Outdated
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java
Outdated
Show resolved
Hide resolved
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFilePreadReader.java
Outdated
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
The failed UTs are not relevant to this PR, and all passed in local tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks
…apache#5063) Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
…apache#5063) Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
…apache#5063) Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
…apache#5063) Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
…apache#5063) Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org>
…apache#5063) (apache#5123) Signed-off-by: Bryan Beaudreault <bbeaudreault@apache.org> (cherry picked from commit fde0f4b) Change-Id: Id727198b9ef22a293f0984521bd6816266b106cb
Using isolate stream reader for prefetching in pread reader, to speed up the prefetching progress.
The blocks cached when prefetching will be released after the pread reader is closed.