[ 
https://issues.apache.org/jira/browse/HBASE-30528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152190#comment-18152190
 ] 

Hudson commented on HBASE-30528:
--------------------------------

Results for branch master
        [build #148 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/master/148/]:
 (x) *{color:red}-1 overall{color}*
----
Backwards compatibility checks:
(/) {color:green}+1 jdk17 hadoop 3.3.5 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/master/148/console]


(x) {color:red}-1 jdk17 hadoop 3.3.6 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/master/148/console]


(/) {color:green}+1 jdk17 hadoop 3.4.0 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/master/148/console]


(/) {color:green}+1 jdk17 hadoop 3.4.1 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/master/148/console]


(/) {color:green}+1 jdk17 hadoop 3.4.2 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase-Backwards-Compatibility-Test/job/master/148/console]


> Avoid redundant getFileInfo when opening plain HFiles
> -----------------------------------------------------
>
>                 Key: HBASE-30528
>                 URL: https://issues.apache.org/jira/browse/HBASE-30528
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 3.0.0, 4.0.0-alpha-1, 2.6.7
>            Reporter: Tak-Lon (Stephen) Wu
>            Assignee: Tak-Lon (Stephen) Wu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1
>
>
> During a recent integration with Ozone as additional file system, we found 
> that createReaderContext has an additional getFileInfo. 
> RegionServers already know plain store file size (and often FileStatus) from 
> compaction output, store file listing, or tracker registration. Despite that, 
> StoreFileInfo.createReaderContext() and getReferencedFileStatus() could call 
> fs.getFileStatus() again on every reader open, and HDFS client open() could 
> issue another metadata lookup (getFileInfo).
> For plain HFiles (not links or references):
> * Cache or synthesize FileStatus on StoreFileInfo and reuse it in
>   createReaderContext, getReferencedFileStatus, and block distribution.
> * Open read streams via FSUtils.openForRead(), using
>   FileSystem.openFile(path).withFileStatus(status) when supported, with
>   fallback to fs.open(path).
> Links and references are unchanged and still stat the referred path as before.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to