public static ColumnFamilyDescriptor getNamespaceFamilyDescForMeta(Configuration conf) {
    return ColumnFamilyDescriptorBuilder.newBuilder(HConstants.NAMESPACE_FAMILY)
      .setMaxVersions(
        conf.getInt(HConstants.HBASE_META_VERSIONS, HConstants.DEFAULT_HBASE_META_VERSIONS))
      .setInMemory(true)
      .setBlocksize(
        conf.getInt(HConstants.HBASE_META_BLOCK_SIZE, HConstants.DEFAULT_HBASE_META_BLOCK_SIZE))
      .setScope(HConstants.REPLICATION_SCOPE_LOCAL)
      .setDataBlockEncoding(DataBlockEncoding.ROW_INDEX_V1).setBloomFilterType(BloomType.ROWCOL)
      .build();
  }
Construct a FSTableDescriptors instance using the hbase root dir of the given conf and the
filesystem where that root dir lives. This instance can do write operations (is not read only).
hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java