Index: metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java =================================================================== --- metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java (revision 1418457) +++ metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java (working copy) @@ -93,7 +93,7 @@ } retriesMade++; LOG.warn("MetaStoreClient lost connection. Attempting to reconnect.", - caughtException.getCause()); + caughtException); Thread.sleep(retryDelaySeconds * 1000); base.reconnect(); }