pvary commented on a change in pull request #2119:
URL: https://github.com/apache/iceberg/pull/2119#discussion_r571944539



##########
File path: 
hive-metastore/src/main/java/org/apache/iceberg/hive/HiveClientPool.java
##########
@@ -83,6 +83,15 @@ protected HiveMetaStoreClient reconnect(HiveMetaStoreClient 
client) {
     return client;
   }
 
+  @Override
+  protected boolean isConnectionException(Exception e) {
+    if (super.isConnectionException(e) || (e != null && e instanceof 
MetaException &&
+        e.getMessage().contains("Got exception: 
org.apache.thrift.transport.TTransportException"))) {

Review comment:
       Thanks @Jecarm for all the fixes.
   For me it seems that @marton-bod has a good point. I think this is the last 
thing and then I would happily push the merge! 😄 Thanks for all your work on 
this! 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to