This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch branch-1.10
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/branch-1.10 by this push:
new 6b450a8d16 [KYUUBI #7000] Exclude aws-java-sdk-logs from
kyuubi-spark-authz-shaded
6b450a8d16 is described below
commit 6b450a8d163d5650b9b559aec7c81ea7869ca341
Author: Cheng Pan <[email protected]>
AuthorDate: Tue Mar 25 18:18:56 2025 +0800
[KYUUBI #7000] Exclude aws-java-sdk-logs from kyuubi-spark-authz-shaded
### Why are the changes needed?
RANGER-4831 (2.5.0) switches from aws-java-sdk-bundle to aws-java-sdk-logs
### How was this patch tested?
I checked the packaged jar content
```
$ build/mvn clean install -DskipTests -pl :kyuubi-spark-authz-shaded_2.12
-am
$ jar -tf
extensions/spark/kyuubi-spark-authz-shaded/target/kyuubi-spark-authz-shaded_2.12-1.11.0-SNAPSHOT.jar
\
| grep -v 'org/apache/ranger/' \
| grep -v 'org/apache/kyuubi/' \
| grep -v 'com/sun/jna/' \
| grep -v 'META-INF/services/' \
| grep -v 'service-defs/ranger-servicedef-'
META-INF/
META-INF/MANIFEST.MF
META-INF/LICENSE
META-INF/NOTICE
database_command_spec.json
function_command_spec.json
org/
org/apache/
scan_command_spec.json
service-defs/
table_command_spec.json
org/apache/hadoop/
org/apache/hadoop/security/
org/apache/hadoop/security/SecureClientLogin.class
etc/
etc/ranger/
etc/ranger/geo/
etc/ranger/geo/geo.txt
org/apache/hadoop/security/SecureClientLoginConfiguration.class
etc/ranger/geo/geo_long.txt
resourcenamemap.properties
org/apache/hadoop/security/KrbPasswordSaverLoginModule.class
META-INF/jersey-module-version
com/
com/sun/
META-INF/persistence.xml
```
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #7000 from pan3793/authz-aws-logs.
Closes #7000
a22ca807a [Cheng Pan] Exclude aws-java-sdk-logs from
kyuubi-spark-authz-shaded
447d450fc [Cheng Pan] Exclude aws-java-sdk-logs from
kyuubi-spark-authz-shaded
Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
---
extensions/spark/kyuubi-spark-authz/pom.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/extensions/spark/kyuubi-spark-authz/pom.xml
b/extensions/spark/kyuubi-spark-authz/pom.xml
index 45f699d852..240c74e0fe 100644
--- a/extensions/spark/kyuubi-spark-authz/pom.xml
+++ b/extensions/spark/kyuubi-spark-authz/pom.xml
@@ -209,10 +209,17 @@
<groupId>org.apache.logging.log4j</groupId>
<artifactId>*</artifactId>
</exclusion>
+ <!--
+ RANGER-4831 (2.5.0) switches from aws-java-sdk-bundle to
aws-java-sdk-logs
+ -->
<exclusion>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bundle</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>com.amazonaws</groupId>
+ <artifactId>aws-java-sdk-logs</artifactId>
+ </exclusion>
</exclusions>
</dependency>