This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new c6bb57c685 [KYUUBI #7000] Exclude aws-java-sdk-logs from 
kyuubi-spark-authz-shaded
c6bb57c685 is described below

commit c6bb57c6853b82bed80152164342217f4ffb3a61
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 6d072a8db3..67c46fb030 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>
 

Reply via email to