From 74351c7e6b07e7dbce47ad1039bee1294078fb5f Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Tue, 19 Mar 2024 14:33:38 +0800 Subject: [PATCH] [KYUUBI #6194] AuthZ shaded should include ranger-plugins-cred MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # :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 Signed-off-by: Cheng Pan --- 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 6896125f2..4ff50edbc 100644 --- a/extensions/spark/kyuubi-spark-authz-shaded/pom.xml +++ b/extensions/spark/kyuubi-spark-authz-shaded/pom.xml @@ -237,6 +237,7 @@ org.apache.kyuubi:kyuubi-util org.apache.ranger:ranger-plugins-common org.apache.ranger:ranger-plugins-audit + org.apache.ranger:ranger-plugins-cred org.codehaus.jackson:jackson-jaxrs org.codehaus.jackson:jackson-core-asl org.codehaus.jackson:jackson-mapper-asl