wecharyu commented on code in PR #5040:
URL: https://github.com/apache/hive/pull/5040#discussion_r1475581467
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/DatabaseProduct.java:
##########
@@ -52,9 +51,10 @@
* */
public class DatabaseProduct implements Configurable {
static final private Logger LOG =
LoggerFactory.getLogger(DatabaseProduct.class.getName());
- private static final Class<SQLException>[] unrecoverableSqlExceptions = new
Class[]{
- // TODO: collect more unrecoverable SQLExceptions
- SQLIntegrityConstraintViolationException.class
+ private static final Class<Exception>[] unrecoverableExceptions = new
Class[]{
+ // TODO: collect more unrecoverable Exceptions
+ SQLIntegrityConstraintViolationException.class,
+ DeadlineException.class
Review Comment:
We may need avoid such bugs, and even if there was such bug, we should
fail-fast because this call was already timeout.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]