[
https://issues.apache.org/jira/browse/HBASE-15125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141216#comment-15141216
]
Hudson commented on HBASE-15125:
--------------------------------
FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #1169 (See
[https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/1169/])
HBASE-15125 HBaseFsck's adoptHdfsOrphan function creates region with (apurtell:
rev fb2657936fd0375d976516158d75e4c6233352dd)
* hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
> HBaseFsck's adoptHdfsOrphan function creates region with wrong end key
> boundary
> -------------------------------------------------------------------------------
>
> Key: HBASE-15125
> URL: https://issues.apache.org/jira/browse/HBASE-15125
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Affects Versions: 2.0.0
> Reporter: chenrongwei
> Assignee: chenrongwei
> Fix For: 2.0.0, 1.3.0, 0.98.18
>
> Attachments: HBASE-15125-V001.patch, HBASE-15125-v001-for-branch-1,
> HBASE-15125-v002.patch, HBASE-15125-v003.patch, HBASE-15125-v004.patch,
> HBASE-15125-v004.patch, HBASE-15125-v005.patch
>
>
> There is a bug in HBaseFsck's adoptHdfsOrphan function.At the last of this
> function will create a region,which want to cover all the orphan regions.But
> the end key of this new region was set incorrectly.Correct region's boundary
> should be [startKey,endKey),but this function create a region with boundary
> of [startKey,endKey],this bug will leads to scan operation omit some data.
> I think we should create the region like bellow,
> // create new region on hdfs. move data into place.
> HRegionInfo hri = new HRegionInfo(template.getTableName(),
> orphanRegionRange.getFirst(),
> Bytes.add(orphanRegionRange.getSecond(), new byte[1]));
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)