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/12 02:06:40 UTC
svn commit: r1420503 -
/hive/branches/branch-0.10/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
Author: hashutosh
Date: Wed Dec 12 01:06:39 2012
New Revision: 1420503
URL: http://svn.apache.org/viewvc?rev=1420503&view=rev
Log:
HIVE-3780 :RetryingMetaStoreClient Should Log the Caught Exception (Bhushan Mandhani via Ashutosh Chauhan)
Modified:
hive/branches/branch-0.10/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
Modified: hive/branches/branch-0.10/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.10/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java?rev=1420503&r1=1420502&r2=1420503&view=diff
==============================================================================
--- hive/branches/branch-0.10/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java (original)
+++ hive/branches/branch-0.10/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java Wed Dec 12 01:06:39 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();
}