public static void enableTableIfNotEnabled(Connection conn, TableName tableName)
    throws IOException {
    try {
      conn.getAdmin().enableTable(tableName);
    } catch (TableNotDisabledException | TableNotFoundException e) {
      // ignore
    }
  }
Method to enable a table, if not already enabled. This method suppresses
{@link TableNotDisabledException} and {@link TableNotFoundException}, if thrown while enabling
the table.
@param conn      connection to re-use
@param tableName name of the table to be enabled
hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/QuotaUtil.java