hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nzh...@apache.org
Subject svn commit: r1075662 - /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
Date Tue, 01 Mar 2011 05:15:10 GMT
Author: nzhang
Date: Tue Mar  1 05:15:10 2011
New Revision: 1075662

URL: http://svn.apache.org/viewvc?rev=1075662&view=rev
Log:
HIVE-2002. Expand exceptions caught for metastore operations (Paul Yang via Ning Zhang)

Modified:
    hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java

Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java?rev=1075662&r1=1075661&r2=1075662&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java (original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java Tue
Mar  1 05:15:10 2011
@@ -306,9 +306,7 @@ public class HiveMetaStore extends Thrif
           RawStore ms = getMS(reloadConf || gotNewConnectUrl);
           ret = cmd.run(ms);
           break;
-        } catch (javax.jdo.JDOFatalDataStoreException e) {
-          caughtException = e;
-        } catch (javax.jdo.JDODataStoreException e) {
+        } catch (javax.jdo.JDOException e) {
           caughtException = e;
         }
 



Mime
View raw message