code: public void createTableIfNotExists(HBaseAdmin admin, String tableName,
                                       HTableDescriptor tableDescriptor) throws IOException {
      createTableIfNotExists(admin, Bytes.toBytes(tableName), tableDescriptor, null);
    }
docs: Create a hbase table if it does not exist. Deals with race conditions when two clients concurrently attempt to
  create the table.
  @param admin the hbase admin
  @param tableName the name of the table
  @param tableDescriptor hbase table descriptor for the new table