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

Hudson commented on HBASE-29472:
--------------------------------

Results for branch branch-3
        [build #445 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/445/]: 
(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-3/445/General_20Nightly_20Build_20Report/]








(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/445/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-3/445/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-3/445/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(x) {color:red}-1 jdk17 hadoop 3.4.0 backward compatibility checks{color}
-- For more information [see jdk17 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/445/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]


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


(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.1 {color}


> 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)

Reply via email to