HBASE-2244 META gets inconsistent in a number of crash scenarios
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@918277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
87d2ccc570
commit
8cdba28df5
|
@ -661,10 +661,10 @@ public class HRegion implements HConstants, HeapSize { // , Writable{
|
||||||
// Create a region instance and then move the splits into place under
|
// Create a region instance and then move the splits into place under
|
||||||
// regionA and regionB.
|
// regionA and regionB.
|
||||||
HRegion regionA =
|
HRegion regionA =
|
||||||
HRegion.newHRegion(basedir, log, fs, conf, regionAInfo, null);
|
new HRegion(basedir, log, fs, conf, regionAInfo, null);
|
||||||
moveInitialFilesIntoPlace(this.fs, dirA, regionA.getRegionDir());
|
moveInitialFilesIntoPlace(this.fs, dirA, regionA.getRegionDir());
|
||||||
HRegion regionB =
|
HRegion regionB =
|
||||||
HRegion.newHRegion(basedir, log, fs, conf, regionBInfo, null);
|
new HRegion(basedir, log, fs, conf, regionBInfo, null);
|
||||||
moveInitialFilesIntoPlace(this.fs, dirB, regionB.getRegionDir());
|
moveInitialFilesIntoPlace(this.fs, dirB, regionB.getRegionDir());
|
||||||
|
|
||||||
HRegion regions[] = new HRegion [] {regionA, regionB};
|
HRegion regions[] = new HRegion [] {regionA, regionB};
|
||||||
|
|
Loading…
Reference in New Issue