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

This commit is contained in:
tedyu 2018-01-18 07:58:44 -08:00
parent d7e2e0d02c
commit 251826e138
1 changed files with 2 additions and 2 deletions

View File

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