You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kh...@apache.org on 2015/01/29 00:58:34 UTC
svn commit: r1655501 -
/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
Author: khorgath
Date: Wed Jan 28 23:58:34 2015
New Revision: 1655501
URL: http://svn.apache.org/r1655501
Log:
HIVE-9436 : RetryingMetaStoreClient does not retry JDOExceptions (Sushanth Sowmyan, reviewed by Thejas M Nair)
Modified:
hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java?rev=1655501&r1=1655500&r2=1655501&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java (original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java Wed Jan 28 23:58:34 2015
@@ -98,7 +98,7 @@ public class RetryingMetaStoreClient imp
(e.getCause() instanceof TTransportException)) {
caughtException = (TException) e.getCause();
} else if ((e.getCause() instanceof MetaException) &&
- e.getCause().getMessage().matches("JDO[a-zA-Z]*Exception")) {
+ e.getCause().getMessage().matches("(?s).*JDO[a-zA-Z]*Exception.*")) {
caughtException = (MetaException) e.getCause();
} else {
throw e.getCause();