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

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


The following commit(s) were added to refs/heads/branch-1.9 by this push:
     new 91485071e [KYUUBI #6194] AuthZ shaded should include 
ranger-plugins-cred
91485071e is described below

commit 91485071ef9d9f9262a723a1f2003e1267cc110e
Author: Cheng Pan <[email protected]>
AuthorDate: Tue Mar 19 14:33:38 2024 +0800

    [KYUUBI #6194] AuthZ shaded should include ranger-plugins-cred
    
    # :mag: Description
    ## Issue References ๐Ÿ”—
    
    This pull request fixes a class not found issue.
    
    ```
    Caused by: java.lang.ClassNotFoundException: 
org.apache.ranger.authorization.hadoop.utils.RangerCredentialProvider
      ...
    ```
    
    ## Describe Your Solution ๐Ÿ”ง
    
    `org.apache.ranger:ranger-plugins-cred` was missing in include list.
    
    ## Types of changes :bookmark:
    
    - [x] Bugfix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
    
    ## Test Plan ๐Ÿงช
    
    Manual test.
    
    ---
    
    # Checklist ๐Ÿ“
    
    - [x] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    **Be nice. Be informative.**
    
    Closes #6194 from pan3793/auth-shaded.
    
    Closes #6194
    
    4eae524bd [Cheng Pan] Authz shaded should include ranger-plugins-cred
    
    Authored-by: Cheng Pan <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
    (cherry picked from commit 74351c7e6b07e7dbce47ad1039bee1294078fb5f)
    Signed-off-by: Cheng Pan <[email protected]>
---
 extensions/spark/kyuubi-spark-authz-shaded/pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extensions/spark/kyuubi-spark-authz-shaded/pom.xml 
b/extensions/spark/kyuubi-spark-authz-shaded/pom.xml
index d1880aa5c..3af1b5f08 100644
--- a/extensions/spark/kyuubi-spark-authz-shaded/pom.xml
+++ b/extensions/spark/kyuubi-spark-authz-shaded/pom.xml
@@ -237,6 +237,7 @@
                             <include>org.apache.kyuubi:kyuubi-util</include>
                             
<include>org.apache.ranger:ranger-plugins-common</include>
                             
<include>org.apache.ranger:ranger-plugins-audit</include>
+                            
<include>org.apache.ranger:ranger-plugins-cred</include>
                             
<include>org.codehaus.jackson:jackson-jaxrs</include>
                             
<include>org.codehaus.jackson:jackson-core-asl</include>
                             
<include>org.codehaus.jackson:jackson-mapper-asl</include>

Reply via email to