[
https://issues.apache.org/jira/browse/HBASE-25356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17252290#comment-17252290
]
Hudson commented on HBASE-25356:
--------------------------------
Results for branch branch-2.3
[build #126 on
builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.3/126/]:
(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/branch-2.3/126/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.3/126/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.3/126/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/branch-2.3/126/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}
> HBaseAdmin#getRegion() needs to filter out non-regionName and
> non-encodedRegionName
> -----------------------------------------------------------------------------------
>
> Key: HBASE-25356
> URL: https://issues.apache.org/jira/browse/HBASE-25356
> Project: HBase
> Issue Type: Bug
> Components: shell
> Affects Versions: 2.3.3, 2.4.0
> Reporter: Huaxiang Sun
> Assignee: Huaxiang Sun
> Priority: Major
>
> I was running shell command to major compact meta table. The implementation
> is wrong because it tries to search the meta table with meta table name. This
> also results in an unnecessary scan of meta table.
>
> majorCompactRegion() is calling HBaseAdmin#getRegion() which basically scan
> meta table itself.
> This command is being used by operator quite often, we need to correct it.
>
> This applies to split/flush command as well, which calls getRegion() with
> tableName as an input.
>
> The solution is that getRegion() needs to filter out non-regionName and
> non-encodedRegionName, this will save a query of meta table and a heavy scan
> of meta table. If meta table size is large, the overhead is huge.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)