HBASE-14287 Bootstrapping a cluster leaves temporary WAL directory laying around
This commit is contained in:
parent
75d3d7d106
commit
d98ea9bb4e
|
@ -537,7 +537,7 @@ public class MasterFileSystem {
|
||||||
HRegionInfo metaHRI = new HRegionInfo(HRegionInfo.FIRST_META_REGIONINFO);
|
HRegionInfo metaHRI = new HRegionInfo(HRegionInfo.FIRST_META_REGIONINFO);
|
||||||
HTableDescriptor metaDescriptor = new FSTableDescriptors(c).get(TableName.META_TABLE_NAME);
|
HTableDescriptor metaDescriptor = new FSTableDescriptors(c).get(TableName.META_TABLE_NAME);
|
||||||
setInfoFamilyCachingForMeta(metaDescriptor, false);
|
setInfoFamilyCachingForMeta(metaDescriptor, false);
|
||||||
HRegion meta = HRegion.createHRegion(metaHRI, rd, c, metaDescriptor);
|
HRegion meta = HRegion.createHRegion(metaHRI, rd, c, metaDescriptor, null, true, true);
|
||||||
setInfoFamilyCachingForMeta(metaDescriptor, true);
|
setInfoFamilyCachingForMeta(metaDescriptor, true);
|
||||||
HRegion.closeHRegion(meta);
|
HRegion.closeHRegion(meta);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
Loading…
Reference in New Issue