From c6bb57c6853b82bed80152164342217f4ffb3a61 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Tue, 25 Mar 2025 18:18:56 +0800 Subject: [PATCH] [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 Signed-off-by: Cheng Pan --- 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 6d072a8db..67c46fb03 100644 --- a/extensions/spark/kyuubi-spark-authz/pom.xml +++ b/extensions/spark/kyuubi-spark-authz/pom.xml @@ -209,10 +209,17 @@ org.apache.logging.log4j * + com.amazonaws aws-java-sdk-bundle + + com.amazonaws + aws-java-sdk-logs +