[
https://issues.apache.org/jira/browse/HBASE-26394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434513#comment-17434513
]
Hudson commented on HBASE-26394:
--------------------------------
Results for branch branch-2
[build #377 on
builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/377/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/377/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/377/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2/377/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/branch-2/377/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> Cache in RSRpcServices.executeProcedures does not take effect
> -------------------------------------------------------------
>
> Key: HBASE-26394
> URL: https://issues.apache.org/jira/browse/HBASE-26394
> Project: HBase
> Issue Type: Bug
> Affects Versions: 3.0.0-alpha-1, 2.4.8
> Reporter: chenglei
> Assignee: chenglei
> Priority: Major
> Fix For: 2.5.0, 3.0.0-alpha-2, 2.4.9
>
>
> In {{RSRpcServices.executeProcedures}} , we use tdCache to avoid reading
> from the {{TableDescritor}} every time(usually it will read from the file
> system), just as following line 3923 :
> {code:java}
> 3914 public ExecuteProceduresResponse executeProcedures(RpcController
> controller,
> 3915 ExecuteProceduresRequest request) throws ServiceException {
> 3916 try {
> 3917 checkOpen();
> 3918 throwOnWrongStartCode(request);
> 3919
> regionServer.getRegionServerCoprocessorHost().preExecuteProcedures();
> 3920 if (request.getOpenRegionCount() > 0) {
> 3921 // Avoid reading from the TableDescritor every time(usually it
> will read from the file
> 3922 // system)
> 3923 Map<TableName, TableDescriptor> tdCache = new HashMap<>();
> 3924 request.getOpenRegionList().forEach(req ->
> executeOpenRegionProcedures(req, tdCache));
> 3925 }
> ......
> {code}
> but for {{RSRpcServices.executeOpenRegionProcedures}} in above line 3924,
> there is no place to fill the {{tdCache}}, so the {{tdCache}} does not take
> effect in fact.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)