HADOOP-2451 End key is incorrectly assigned in many region splits
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@605102 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c73ddd1aa8
commit
c55f90590a
|
@ -84,6 +84,7 @@ Trunk (unreleased changes)
|
||||||
HADOOP-2430 Master will not shut down if there are no active region servers
|
HADOOP-2430 Master will not shut down if there are no active region servers
|
||||||
HADOOP-2199 Add tools for going from hregion filename to region name in logs
|
HADOOP-2199 Add tools for going from hregion filename to region name in logs
|
||||||
HADOOP-2441 Fix build failures in TestHBaseCluster
|
HADOOP-2441 Fix build failures in TestHBaseCluster
|
||||||
|
HADOOP-2451 End key is incorrectly assigned in many region splits
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HADOOP-2401 Add convenience put method that takes writable
|
HADOOP-2401 Add convenience put method that takes writable
|
||||||
|
|
|
@ -559,7 +559,7 @@ public class HRegion implements HConstants {
|
||||||
throw new IOException("Cannot split; target file collision at " + dirA);
|
throw new IOException("Cannot split; target file collision at " + dirA);
|
||||||
}
|
}
|
||||||
HRegionInfo regionBInfo = new HRegionInfo(this.regionInfo.getTableDesc(),
|
HRegionInfo regionBInfo = new HRegionInfo(this.regionInfo.getTableDesc(),
|
||||||
midKey, null);
|
midKey, this.regionInfo.getEndKey());
|
||||||
Path dirB = getSplitRegionDir(splits,
|
Path dirB = getSplitRegionDir(splits,
|
||||||
HRegionInfo.encodeRegionName(regionBInfo.getRegionName()));
|
HRegionInfo.encodeRegionName(regionBInfo.getRegionName()));
|
||||||
if(this.fs.exists(dirB)) {
|
if(this.fs.exists(dirB)) {
|
||||||
|
|
Loading…
Reference in New Issue