lasdf1234 opened a new pull request, #15082:
URL: https://github.com/apache/gravitino/pull/15082

   ### What changes were proposed in this pull request?
   
   When `RemoteLocationValidator` cannot obtain a Hadoop `FileSystem` for the 
scan scheme (`UnsupportedFileSystemException`), keep `OrphanFileLocationUtils` 
lexical containment and skip symlink inspection instead of failing the job 
before Iceberg `remove_orphan_files`.
   
   ### Why are the changes needed?
   
   Object-store table locations (for example `s3://`, and similarly `gs://` / 
`abfs://` / `oss://` without a registered Hadoop FS) commonly rely on Iceberg 
FileIO. Forcing `Path.getFileSystem(conf)` first fails even though symlink 
walking is unnecessary for these stores.
   
   Fixes #15081
   
   ### Does this PR introduce _any_ user-facing change?
   
   No API change. Built-in Iceberg remove-orphan-files jobs no longer fail 
solely because Hadoop lacks a `FileSystem` implementation for the table URI 
scheme.
   
   ### How was this patch tested?
   
   - `./gradlew :maintenance:jobs:test --tests 
org.apache.gravitino.maintenance.jobs.iceberg.TestRemoteLocationValidator`
   
   Made with [Cursor](https://cursor.com)


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

Reply via email to