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 74351c7e6 [KYUUBI #6194] AuthZ shaded should include
ranger-plugins-cred
74351c7e6 is described below
commit 74351c7e6b07e7dbce47ad1039bee1294078fb5f
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]>
---
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 @@
<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>