lognoel opened a new issue, #9124:
URL: https://github.com/apache/iceberg/issues/9124

   ### Apache Iceberg version
   
   1.4.2 (latest release)
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug 🐞
   
   `GlueCatalog.loadTable` can block for 100 seconds if attempting to read 
metadata from an S3 location with insufficient permissions.  This is because 
GlueTableOperations calls 
[refreshFromMetadataLocation](https://github.com/apache/iceberg/blob/42614cc8d6527284cb45800b5b37e6a98c466ef6/aws/src/main/java/org/apache/iceberg/aws/glue/GlueTableOperations.java#L141C5-L141C32)
 without an [exception 
predicate](https://github.com/apache/iceberg/blob/f8d21116b1990ff0f7d7960a0f41f3a807756141/core/src/main/java/org/apache/iceberg/BaseMetastoreTableOperations.java#L184).
 
   
   1) The default behavior should not be to retry on `AccessDenied` errors from 
S3
   2) The exception retry logic should be configurable, both in terms of which 
exceptions are retried, and the backoff logic. It is currently hardcoded 
[here](https://github.com/apache/iceberg/blob/f8d21116b1990ff0f7d7960a0f41f3a807756141/core/src/main/java/org/apache/iceberg/BaseMetastoreTableOperations.java#L204)
 to retry 20 times.
   
   


-- 
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: issues-unsubscr...@iceberg.apache.org.apache.org

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