Skip to content

Commit

Permalink
[KYUUBI apache#6194] AuthZ shaded should include ranger-plugins-cred
Browse files Browse the repository at this point in the history
# 🔍 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 🔖

- [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 apache#6194 from pan3793/auth-shaded.

Closes apache#6194

4eae524 [Cheng Pan] Authz shaded should include ranger-plugins-cred

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
  • Loading branch information
pan3793 committed Mar 19, 2024
1 parent 09a0524 commit 74351c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/spark/kyuubi-spark-authz-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 74351c7

Please sign in to comment.