Orcus01 commented on PR #18746: URL: https://github.com/apache/iceberg/pull/18746#issuecomment-6861820637
I ran the standalone `InitS3FileIO` reproduction from #18744 on OpenJDK 21.0.11 (macOS arm64). The program calls `initialize(Map.of())` and closes the file IO. No AWS requests were made. | Iceberg | AWS SDK version | Direct AWS SDK dependencies | Result | | --- | --- | --- | --- | | 1.12.0 | 2.54.17 | `s3`, `url-connection-client` | `NoClassDefFoundError: software/amazon/awssdk/services/kms/model/EncryptionAlgorithmSpec` | | 1.12.0 | 2.54.17 | `s3`, `url-connection-client`, `kms` | `NoClassDefFoundError: software/amazon/awssdk/services/sts/model/Tag` | | 1.12.0 | 2.54.17 | `s3`, `url-connection-client`, `kms`, `sts` | `initialize OK` | | PR head `61194294` | 2.56.0 (PR's BOM) | `s3`, `url-connection-client` | `initialize OK` | For the release rows I used Maven's runtime classpath for `iceberg-aws:1.12.0` and `iceberg-core:1.12.0` plus the SDK dependencies above. For the last row I ran `./gradlew :iceberg-aws:jar` at the PR head and replaced the released Iceberg entries with the checkout's AWS and bundled Guava JARs and compiled API, common and core classes. I checked the resolved runtime classpath for the last row contained no `kms`, `sts`, `glue` or `dynamodb` SDK module. The test only covers initialization. -- 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]
