Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.13.1, 0.14.0
-
None
-
None
Description
RetryingMetaStoreClient has a bug in the following bit of code:
} else if ((e.getCause() instanceof MetaException) && e.getCause().getMessage().matches("JDO[a-zA-Z]*Exception")) { caughtException = (MetaException) e.getCause(); } else { throw e.getCause(); }
The bug here is that java String.matches matches the entire string to the regex, and thus, that match will fail if the message contains anything before or after JDO[a-zA-Z]*Exception. The solution, however, is very simple, we should match (?s).*JDO[a-zA-Z]*Exception.*
Attachments
Attachments
Issue Links
- relates to
-
HIVE-10384 RetryingMetaStoreClient does not retry wrapped TTransportExceptions
- Closed