private boolean fabricateTableInfo(FSTableDescriptors fstd, TableName tableName,
    Set<String> columns) throws IOException {
    if (columns == null || columns.isEmpty()) return false;
    TableDescriptorBuilder builder = TableDescriptorBuilder.newBuilder(tableName);
    for (String columnfamimly : columns) {
      builder.setColumnFamily(ColumnFamilyDescriptorBuilder.of(columnfamimly));
    }
    fstd.createTableDescriptor(builder.build(), true);
    return true;
  }
To fabricate a .tableinfo file with following contents<br>
1. the correct tablename <br>
2. the correct colfamily list<br>
3. the default properties for both {@link TableDescriptor} and
{@link ColumnFamilyDescriptor}<br>
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java