hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vik...@apache.org
Subject svn commit: r1655889 - /hive/branches/branch-1.0/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
Date Fri, 30 Jan 2015 00:01:30 GMT
Author: vikram
Date: Fri Jan 30 00:01:30 2015
New Revision: 1655889

URL: http://svn.apache.org/r1655889
Log:
HIVE-9436: RetryingMetaStoreClient does not retry JDOExceptions (Sushanth Sowmyan via Vikram
Dixit)

Modified:
    hive/branches/branch-1.0/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java

Modified: hive/branches/branch-1.0/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-1.0/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java?rev=1655889&r1=1655888&r2=1655889&view=diff
==============================================================================
--- hive/branches/branch-1.0/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
(original)
+++ hive/branches/branch-1.0/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
Fri Jan 30 00:01:30 2015
@@ -97,7 +97,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();



Mime
View raw message