doWithRetry(alter);
} catch (NoSuchObjectException e) {
throw new DatasetNotFoundException("Hive table not found: " +
tbl.getDbName() + "." + tbl.getTableName());
} catch (InvalidObjectException e) {
throw new DatasetOperationException("Invalid table", e);
} catch (InvalidOperationException e) {
throw new DatasetOperationException("Invalid table change", e);
} catch (MetaException e) {
throw new DatasetOperationException("Hive MetaStore exception", e);
} catch (TException e) {
throw new DatasetOperationException(
"Exception communicating with the Hive MetaStore", e);
}
}