private static void createTable(Admin admin, TableName tableName, String[] columns)
    throws IOException {
    TableDescriptorBuilder builder = TableDescriptorBuilder.newBuilder(tableName);
    Set<String> cfSet = getColumnFamilies(columns);
    for (String cf : cfSet) {
      builder.setColumnFamily(ColumnFamilyDescriptorBuilder.of(cf));
    }
    LOG.warn(
      format("Creating table '%s' with '%s' columns and default descriptors.", tableName, cfSet));
    admin.createTable(builder.build());
  }
Sets up the actual job.
@param conf The current configuration.
@param args The command line parameters.
@return The newly created job.
@throws IOException When setting up the job fails.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/ImportTsv.java