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:
Michael Stack 2010-03-03 00:01:25 +00:00
parent 87d2ccc570
commit 8cdba28df5
1 changed files with 2 additions and 2 deletions

View File

@ -661,10 +661,10 @@ public class HRegion implements HConstants, HeapSize { // , Writable{
// Create a region instance and then move the splits into place under
// regionA and regionB.
HRegion regionA =
HRegion.newHRegion(basedir, log, fs, conf, regionAInfo, null);
new HRegion(basedir, log, fs, conf, regionAInfo, null);
moveInitialFilesIntoPlace(this.fs, dirA, regionA.getRegionDir());
HRegion regionB =
HRegion.newHRegion(basedir, log, fs, conf, regionBInfo, null);
new HRegion(basedir, log, fs, conf, regionBInfo, null);
moveInitialFilesIntoPlace(this.fs, dirB, regionB.getRegionDir());
HRegion regions[] = new HRegion [] {regionA, regionB};