thswlsqls opened a new issue, #8588:
URL: https://github.com/apache/paimon/issues/8588

   **Search before asking**
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   **Paimon version**
   master @ fb3484df6
   
   **Compute Engine**
   Engine-agnostic (core)
   
   **Minimal reproduce step**
   `HadoopCompliantFileIO.getFileSystem()` 
(paimon-filesystems/paimon-obs-impl/src/main/java/org/apache/paimon/obs/HadoopCompliantFileIO.java
 line 109) caches a single `FileSystem fs` for the first authority (bucket) it 
sees and returns it for every subsequent path. When one `OBSFileIO` instance 
serves paths across multiple OBS buckets on the default (non-resolving) FileIO 
path, all requests are routed to the first bucket's FileSystem.
   
   **What doesn't meet your expectations?**
   Expected: each authority (bucket) gets its own cached `FileSystem`. Actual: 
the first bucket's `FileSystem` is reused for all authorities.
   
   **Anything else?**
   The sibling implementations already cache per authority in a `Map<String, 
FileSystem>` keyed by `path.toUri().getAuthority()` (null → `"DEFAULT"`): see 
paimon-oss-impl (#2417), paimon-s3-impl (#2504), and paimon-gs-impl. OBS was 
never updated to match.
   
   **Are you willing to submit a PR?**
   - [x] I'm willing to submit a PR!
   
   


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