This is an automated email from the ASF dual-hosted git repository.
gianm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 87d36ea3426 fix: Move aws-crt-client to the correct classloader
(#20468)
87d36ea3426 is described below
commit 87d36ea3426436ce9a5bfffd11ba896067b73e7f
Author: Laksh Singla <[email protected]>
AuthorDate: Thu Oct 1 21:24:34 2026 +0530
fix: Move aws-crt-client to the correct classloader (#20468)
#20409 introduced a change that moved the AWS SDK to the parent
classloader. This patch moves aws-crt-client as well, since aws-crt-core
(in the SDK) relied on classes from aws-crt-client.
---
cloud/aws-common/pom.xml | 7 +++++++
extensions-core/s3-extensions/pom.xml | 2 ++
licenses.yaml | 2 +-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/cloud/aws-common/pom.xml b/cloud/aws-common/pom.xml
index 0c782227f48..487cf0adf5b 100644
--- a/cloud/aws-common/pom.xml
+++ b/cloud/aws-common/pom.xml
@@ -107,6 +107,13 @@
<version>${aws.sdk.v2.version}</version>
<scope>runtime</scope>
</dependency>
+ <!-- Keep CRT classes on the shared classpath too: s3 brings crt-core
here which relies on the aws-crt-client. -->
+ <dependency>
+ <groupId>software.amazon.awssdk</groupId>
+ <artifactId>aws-crt-client</artifactId>
+ <version>${aws.sdk.v2.version}</version>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
diff --git a/extensions-core/s3-extensions/pom.xml
b/extensions-core/s3-extensions/pom.xml
index c81903ac23a..cd0663110ea 100644
--- a/extensions-core/s3-extensions/pom.xml
+++ b/extensions-core/s3-extensions/pom.xml
@@ -114,10 +114,12 @@
<artifactId>s3-transfer-manager</artifactId>
<version>${aws.sdk.v2.version}</version>
</dependency>
+ <!-- Keep CRT classes on the shared classpath, next to the crt-core that
s3 brings there. -->
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>aws-crt-client</artifactId>
<version>${aws.sdk.v2.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
diff --git a/licenses.yaml b/licenses.yaml
index cd36b79d3f9..735acaf66b6 100644
--- a/licenses.yaml
+++ b/licenses.yaml
@@ -307,7 +307,7 @@ notice: |
name: AWS CRT
license_category: binary
-module: extensions/druid-s3-extensions
+module: java-core
license_name: Apache License version 2.0
version: 0.48.4
libraries:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]