You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/08/30 00:35:00 UTC

[jira] [Commented] (HBASE-24949) Optimize FSTableDescriptors.get to not always go to fs when cache miss

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

Hudson commented on HBASE-24949:
--------------------------------

Results for branch master
	[build #27 on builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/27/]: (x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/27/General_20Nightly_20Build_20Report/]






(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/27/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/27/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(x) {color:red}-1 client integration test{color}
--Failed when running client tests on top of Hadoop 2. [see log for details|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/27//artifact/output-integration/hadoop-2.log]. (note that this means we didn't run on Hadoop 3)


> Optimize FSTableDescriptors.get to not always go to fs when cache miss
> ----------------------------------------------------------------------
>
>                 Key: HBASE-24949
>                 URL: https://issues.apache.org/jira/browse/HBASE-24949
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.4.0
>
>
> Since in the below getAll method, if fsvisited is true, we will just return what we have in cache.
> We should also do this in the get method, if fsvisited is true, we do not need to go to fs any more.
> Another benefit here is that, when executing procedures on master, we do not need to go to meta region any more, we could just check if we have a table descriptor in cache.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)