You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2012/12/09 10:12:32 UTC

svn commit: r1418844 - /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java

Author: hashutosh
Date: Sun Dec  9 09:12:31 2012
New Revision: 1418844

URL: http://svn.apache.org/viewvc?rev=1418844&view=rev
Log:
HIVE-3780 : RetryingMetaStoreClient Should Log the Caught Exception (Bhushan Mandhani via Ashutosh Chauhan)

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=1418844&r1=1418843&r2=1418844&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 Sun Dec  9 09:12:31 2012
@@ -93,7 +93,7 @@ public class RetryingMetaStoreClient imp
       }
       retriesMade++;
       LOG.warn("MetaStoreClient lost connection. Attempting to reconnect.",
-          caughtException.getCause());
+          caughtException);
       Thread.sleep(retryDelaySeconds * 1000);
       base.reconnect();
     }