dengzhhu653 opened a new pull request #2844:
URL: https://github.com/apache/iceberg/pull/2844


   …xception
   
https://github.com/apache/iceberg/blob/d5443e3a34a4288441a015ab616d965557d78202/hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java#L303
 wraps the internal exception into a RuntimeException and throws, the Hive 
client may fail to reconnect if if the internal exception is an exception that 
should reconnect. For example, 
   ```
   java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: 
java.net.SocketTimeoutException: Read timed out
           at 
org.apache.iceberg.relocated.com.google.common.base.Throwables.propagate(Throwables.java:241)
           at 
org.apache.iceberg.common.DynMethods$UnboundMethod.invoke(DynMethods.java:80)
   ```
   Reusing the timeout client may result to 
`org.apache.thrift.TApplicationException: get_table failed: out of sequence 
response`.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to