[
https://issues.apache.org/jira/browse/HBASE-29472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010218#comment-18010218
]
Hudson commented on HBASE-29472:
--------------------------------
Results for branch branch-2.5
[build #715 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop 3.2.4 backward compatibility checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop 3.3.5 backward compatibility checks{color}
-- For more information [see jdk17
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(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%20Nightly/job/branch-2.5/715/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 source release artifact{color}
-- Something went wrong with this stage, [check relevant console
output|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715//console].
(x) {color:red}-1 client integration test{color}
-- Something went wrong with this stage, [check relevant console
output|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/715//console].
> Fix splitting algorithms of RegionSplitter tool
> -----------------------------------------------
>
> Key: HBASE-29472
> URL: https://issues.apache.org/jira/browse/HBASE-29472
> Project: HBase
> Issue Type: Bug
> Components: util
> Reporter: Junegunn Choi
> Assignee: Junegunn Choi
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.0.0-beta-2, 2.6.4, 2.5.13
>
>
> h2. Summary
> The two splitting algorithms of {{RegionSplitter}} tool, {{HexStringSplit}}
> and {{{}DecimalStringSplit{}}}, compute an incorrect split point for the last
> region of a table because they fail to treat the "max" key as inclusive.
> h2. Before the fix
> h3. HexStringSplit
> {code:java}
> Table testSplitPresplitTableHex has 8 regions that will be split.
> Will Split [00000000 , 20000000) at 10000000
> Will Split [20000000 , 40000000) at 30000000
> Will Split [40000000 , 60000000) at 50000000
> Will Split [60000000 , 80000000) at 70000000
> Will Split [80000000 , a0000000) at 90000000
> Will Split [a0000000 , c0000000) at b0000000
> Will Split [c0000000 , e0000000) at d0000000
> Will Split [e0000000 , ffffffff) at efffffff <- Incorrect split point
> {code}
> h3. DecimalStringSplit
> {code:java}
> Table testSplitPresplitTableDecimal has 8 regions that will be split.
> Will Split [00000000 , 12500000) at 06250000
> Will Split [12500000 , 25000000) at 18750000
> Will Split [25000000 , 37500000) at 31250000
> Will Split [37500000 , 50000000) at 43750000
> Will Split [50000000 , 62500000) at 56250000
> Will Split [62500000 , 75000000) at 68750000
> Will Split [75000000 , 87500000) at 81250000
> Will Split [87500000 , 99999999) at 93749999 <- Incorrect split point
> {code}
> h2. After the fix
> h3. HexStringSplit
> {code:java}
> Table testSplitPresplitTableHex has 8 regions that will be split.
> Will Split [00000000 , 20000000) at 10000000
> Will Split [20000000 , 40000000) at 30000000
> Will Split [40000000 , 60000000) at 50000000
> Will Split [60000000 , 80000000) at 70000000
> Will Split [80000000 , a0000000) at 90000000
> Will Split [a0000000 , c0000000) at b0000000
> Will Split [c0000000 , e0000000) at d0000000
> Will Split [e0000000 , ffffffff) at f0000000
> {code}
> h3. DecimalStringSplit
> {code:java}
> Table testSplitPresplitTableDecimal has 8 regions that will be split.
> Will Split [00000000 , 12500000) at 06250000
> Will Split [12500000 , 25000000) at 18750000
> Will Split [25000000 , 37500000) at 31250000
> Will Split [37500000 , 50000000) at 43750000
> Will Split [50000000 , 62500000) at 56250000
> Will Split [62500000 , 75000000) at 68750000
> Will Split [75000000 , 87500000) at 81250000
> Will Split [87500000 , 99999999) at 93750000
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)