sqd opened a new pull request, #17400:
URL: https://github.com/apache/iceberg/pull/17400

   Refreshing table or view metadata retries any read failure up to 20 times 
with exponential backoff (about 90 seconds) unless it is a NotFoundException. A 
permission error is permanent, so retrying can never succeed and only delays 
surfacing the real failure.
   
   Behind a REST catalog, the server holds the loadTable request open for the 
whole retry loop, so clients hit their socket read timeout first and report 
SocketTimeoutException while the actual cause (for example an HDFS "Permission 
denied" on the metadata file) is only visible in server logs. Stuck requests 
also pin server worker threads, causing timeouts for unrelated tables.
   
   Translate access-denied errors into ForbiddenException at the read boundary 
- HadoopFileIO on AccessControlException and S3FileIO on S3Exception with 
status 403 - and stop metadata refresh retries on ForbiddenException. 
RESTCatalogAdapter already maps ForbiddenException to HTTP 403 and REST clients 
map 403 back to ForbiddenException, so callers now receive the underlying 
permission error immediately.


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