HBASE-14287 Bootstrapping a cluster leaves temporary WAL directory laying around

This commit is contained in:
tedyu 2015-09-13 08:51:54 -07:00
parent 75d3d7d106
commit d98ea9bb4e
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ public class MasterFileSystem {
HRegionInfo metaHRI = new HRegionInfo(HRegionInfo.FIRST_META_REGIONINFO);
HTableDescriptor metaDescriptor = new FSTableDescriptors(c).get(TableName.META_TABLE_NAME);
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);
HRegion.closeHRegion(meta);
} catch (IOException e) {