From 4877ee8788cf4ef4a39bb7e76fc4a64559cffcd1 Mon Sep 17 00:00:00 2001 From: stack Date: Fri, 19 Sep 2014 14:34:15 -0700 Subject: [PATCH] HBASE-11982 Bootstraping hbase:meta table creates a WAL file in region dir (Enis) --- .../java/org/apache/hadoop/hbase/master/MasterFileSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java index 49225c4fd60..64a9416944f 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java @@ -500,7 +500,7 @@ public class MasterFileSystem { HRegionInfo metaHRI = new HRegionInfo(HRegionInfo.FIRST_META_REGIONINFO); setInfoFamilyCachingForMeta(false); HRegion meta = HRegion.createHRegion(metaHRI, rd, c, - HTableDescriptor.META_TABLEDESC); + HTableDescriptor.META_TABLEDESC, null, true, true); setInfoFamilyCachingForMeta(true); HRegion.closeHRegion(meta); } catch (IOException e) {