HBASE-19806 Lower max versions for table column family of hbase:meta

This commit is contained in:
tedyu 2018-01-18 07:57:22 -08:00
parent 678b98a726
commit 7573e07cc6
1 changed files with 2 additions and 2 deletions

View File

@ -190,8 +190,8 @@ public class FSTableDescriptors implements TableDescriptors {
.setBloomFilterType(BloomType.NONE) .setBloomFilterType(BloomType.NONE)
.build()) .build())
.addColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(HConstants.TABLE_FAMILY) .addColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(HConstants.TABLE_FAMILY)
// Ten is arbitrary number. Keep versions to help debugging. .setMaxVersions(conf.getInt(HConstants.HBASE_META_VERSIONS,
.setMaxVersions(10) HConstants.DEFAULT_HBASE_META_VERSIONS))
.setInMemory(true) .setInMemory(true)
.setBlocksize(8 * 1024) .setBlocksize(8 * 1024)
.setScope(HConstants.REPLICATION_SCOPE_LOCAL) .setScope(HConstants.REPLICATION_SCOPE_LOCAL)