zy-kkk opened a new pull request, #55741:
URL: https://github.com/apache/doris/pull/55741

     ## Issue
     Fixed `NoSuchMethodException` when accessing S3-based Iceberg tables:
     - `Cannot create org.apache.iceberg.aws.ApacheHttpClientConfigurations`
     - Missing `ApacheHttpClientConfigurations.create` method
   
     ## Root Cause
     The `iceberg-metadata-scanner` module was missing the `iceberg-aws` 
dependency, causing runtime failures when accessing S3 storage.
   
     ## Solution
     Added `iceberg-aws` dependency to `iceberg-metadata-scanner/pom.xml`
   
     ## Why This Issue Is Not Always Reproducible
     This is a **classpath race condition** that only occurs under specific 
circumstances:
   
     1. **Environment Dependency**: Only affects deployments where 
`preload-extensions` module is not loaded or `iceberg-aws` classes are not in 
runtime classpath
     2. **ClassLoader Isolation**: Error depends on module loading order:
        - ✅ `preload-extensions` loads first → classes available → no error
        - ❌ `iceberg-metadata-scanner` loads first → classes missing → error 
occurs
     3. **Storage Backend Dependency**: Only triggers when accessing S3-based 
Iceberg tables (not HDFS/local files)
     4. **Runtime Loading Order**: Depends on which module's ClassLoader gets 
`ApacheHttpClientConfigurations` first


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